[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 337 lignes (12 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Auth_cyrus:: (11 méthodes):
Auth_cyrus()
addUser()
removeUser()
_connect()
_disconnect()
_createSubFolder()
listUsers()
updateUser()
_getLoginScreen()
exists()
transparent()
Classe: Auth_cyrus - X-Ref
The Auth_cyrus class provides horde with the ability of administratingAuth_cyrus($params = array() X-Ref |
Constructor. param: array $params A hash containing connection parameters. |
addUser($userId, $credentials) X-Ref |
Add a set of authentication credentials. param: string $userId The userId to add. param: array $credentials The credentials to add. return: mixed True on success or a PEAR_Error object on failure. |
removeUser($userId) X-Ref |
Delete a set of authentication credentials. param: string $userId The userId to delete. return: boolean Success or failure. |
_connect() X-Ref |
Attempts to open connections to the SQL and IMAP servers. return: mixed True on success or a PEAR_Error object on failure. |
_disconnect() X-Ref |
Disconnect from the IMAP server. return: boolean True on success, false on failure. |
_createSubFolder($userName, $folderName) X-Ref |
Creates a mailboxes supplied in configuration param: string $userName For whom the folder will be created param: string $folderName Name of folder to create |
listUsers() X-Ref |
List all users in the system. return: mixed The array of userIds, or false on failure/unsupported. |
updateUser($oldID, $newID, $credentials) X-Ref |
Update a set of authentication credentials. param: string $oldID The old userId. param: string $newID The new userId. param: array $credentials The new credentials return: mixed True on success or a PEAR_Error object on failure. |
_getLoginScreen($app = 'horde', $url = '') X-Ref |
Return the URI of the login screen for this authentication method. param: string $app The application to use. param: string $url The URL to redirect to after login. return: string The login screen URI. |
exists($userId) X-Ref |
Checks if a userId exists in the sistem. return: boolean Whether or not the userId already exists. |
transparent() X-Ref |
Automatic authentication: Find out if the client matches an allowed IP block. return: boolean Whether or not the client is allowed. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |