[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 278 lignes (10 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Auth_customsql:: (7 méthodes):
Auth_customsql()
_authenticate()
addUser()
updateUser()
resetPassword()
removeUser()
listUsers()
Classe: Auth_customsql - X-Ref
The Auth_customsql class provides a sql implementation of the HordeAuth_customsql($params = array() X-Ref |
Constructs a new SQL authentication object. param: array $params A hash containing connection parameters. |
_authenticate($userId, $credentials) X-Ref |
Find out if a set of login credentials are valid. param: string $userId The userId to check. param: array $credentials The credentials to use. return: boolean Whether or not the credentials are valid. |
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. |
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. |
resetPassword($user_id) X-Ref |
Resets a user's password. Used for example when the user does not remember the existing password. param: string $user_id The user id for which to reset the password. return: mixed The new password on success or a PEAR_Error object on |
removeUser($userId) X-Ref |
Delete a set of authentication credentials. param: string $userId The userId to delete. return: boolean Success or failure. |
listUsers() X-Ref |
List all users in the system. return: mixed The array of userIds, or false on failure/unsupported. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |