[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 233 lignes (7 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Auth_passwd:: (7 méthodes):
Auth_passwd()
_authenticate()
listUsers()
addUser()
modUser()
delUser()
close()
Classe: Auth_passwd - X-Ref
The Auth_passwd:: class provides a passwd-file implementation ofAuth_passwd($params = array() X-Ref |
Constructs a new Passwd 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 An array of login credentials. For MCAL, return: boolean Whether or not the credentials are valid. |
listUsers() X-Ref |
List all users in the system. return: mixed The array of userIds, or a PEAR_Error object on failure. |
addUser($user, $pass, $cvsuser = '') X-Ref |
Adds a user. param: string $user New user ID. param: string $pass Password for new user. param: string $cvsuser CVS user id (needed for pserver passwd files). return: boolean Returns true or PEAR_Error if the user already |
modUser($user, $pass, $cvsuser = '') X-Ref |
Modifies a user. param: string $user User ID. param: string $pass Password for new user. param: string $cvsuser CVS user id (needed for pserver passwd files). return: boolean Returns true or PEAR_Error if the user doesn't |
delUser($user) X-Ref |
Deletes a user. param: string $user User ID. return: boolean Returns true or PEAR_Error if the user doesn't exist. |
close() X-Ref |
Writes changes to passwd file and unlocks it. Takes no arguments and has no defined return value. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |