| [ Index ] |
|
Code source de IMP H3 (4.1.5) |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 283 lignes (10 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 3 fichiers lib/Session.php lib/IMAP.php lib/Search.php |
Auth_imp:: (5 méthodes):
Auth_imp()
authenticate()
authenticateOptions()
_authenticate()
IMPsetAuthErrorMsg()
| Auth_imp($params = array() X-Ref |
| Constructs a new IMP authentication object. param: array $params A hash containing connection parameters. |
| authenticate($userID = null, $credentials = array() X-Ref |
| Find out if a set of login credentials are valid, and if requested, mark the user as logged in in the current session. param: string $userID The userID to check. param: array $credentials The credentials to check. param: boolean $login Whether to log the user in. If false, we'll return: boolean Whether or not the credentials are valid. |
| authenticateOptions($params = array() X-Ref |
| Set IMP-specific authentication options. param: array $params The params to set. |
| _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. return: boolean Whether or not the credentials are valid. |
| IMPsetAuthErrorMsg($msg) X-Ref |
| Somewhat of a hack to allow IMP to set an authentication error message that may occur outside of this file. param: string $msg The error message to set. |
| Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
|