| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 160 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Auth_imap:: (5 méthodes):
Auth_imap()
_authenticate()
addUser()
removeUser()
listUsers()
| Auth_imap($params = array() X-Ref |
| Constructs a new IMAP 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 IMAP, 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 use. 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: mixed True on success or a PEAR_Error object on failure. |
| listUsers() X-Ref |
| List all users in the system. return: mixed The array of userIds, or a PEAR_Error object on failure. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |