| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 161 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Auth_http:: (5 méthodes):
Auth_http()
_authenticate()
_getLoginScreen()
listUsers()
transparent()
| Auth_http($params = array() X-Ref |
| Constructs a new HTTP authentication object. param: array $params A hash containing parameters. |
| _authenticate($userId, $credentials) X-Ref |
| Find out if a set of login credentials are valid. Only supports htpasswd files with DES passwords right now. 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. |
| _getLoginScreen($app = 'horde', $url = '') X-Ref |
| Return the URI of the login screen for this authentication object. param: string $app The application to use. param: string $url The URL to redirect to after login. return: string The login screen URI. |
| listUsers() X-Ref |
| List all users in the system. return: mixed The array of userIds, or a PEAR_Error object on failure. |
| transparent() X-Ref |
| Automatic authentication: Find out if the client has HTTP authentication info present. 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 |