ILIAS
eassessment Revision 61809
|
Public Member Functions | |
Auth_Container_IMAP ($params) | |
Constructor of the container class. | |
_setDefaults () | |
Set some default options. | |
_checkServer () | |
Check if the given server and port are reachable. | |
_parseOptions ($array) | |
Parse options passed to the container class. | |
fetchData ($username, $password) | |
Try to open a IMAP stream using $username / $password. | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
fetchData ($username, $password, $isChallengeResponse=false) | |
Fetch data from storage container. | |
verifyPassword ($password1, $password2, $cryptType="md5") | |
Crypt and verfiy the entered password. | |
supportsChallengeResponse () | |
Returns true if the container supports Challenge Response password authentication. | |
getCryptType () | |
Returns the crypt current crypt type of the container. | |
listUsers () | |
List all users that are available from the storage container. | |
getUser ($username) | |
Returns a user assoc array. | |
addUser ($username, $password, $additional=null) | |
Add a new user to the storage container. | |
removeUser ($username) | |
Remove user from the storage container. | |
changePassword ($username, $password) | |
Change password for user in the storage container. | |
log ($message, $level=AUTH_LOG_DEBUG) | |
Log a message to the Auth log. | |
Public Member Functions inherited from ilAuthContainerBase | |
loginObserver ($a_username, $a_auth) | |
Called after successful login. | |
failedLoginObserver ($a_username, $a_auth) | |
Called after failed login. | |
checkAuthObserver ($a_username, $a_auth) | |
Called after check auth requests. | |
logoutObserver ($a_username, $a_auth) | |
Called after logout. |
Data Fields | |
$options = array() | |
Data Fields inherited from Auth_Container | |
$activeUser = "" | |
User that is currently selected from the storage container. | |
$_auth_obj = null | |
The Auth object this container is attached to. |
Auth_Container_IMAP::_checkServer | ( | ) |
Check if the given server and port are reachable.
private
Definition at line 150 of file IMAP.php.
References AUTH_LOG_DEBUG, Auth_Container\log(), and PEAR\raiseError().
Referenced by Auth_Container_IMAP().
Auth_Container_IMAP::_parseOptions | ( | $array | ) |
Parse options passed to the container class.
private
array |
Definition at line 173 of file IMAP.php.
Referenced by Auth_Container_IMAP().
Auth_Container_IMAP::_setDefaults | ( | ) |
Set some default options.
private
Definition at line 133 of file IMAP.php.
Referenced by Auth_Container_IMAP().
Auth_Container_IMAP::Auth_Container_IMAP | ( | $params | ) |
Constructor of the container class.
$params | associative array with host, port, baseDSN, checkServer and userattr key |
Definition at line 106 of file IMAP.php.
References _checkServer(), _parseOptions(), _setDefaults(), PEAR_ERROR_DIE, and PEAR\raiseError().
Auth_Container_IMAP::fetchData | ( | $username, | |
$password | |||
) |
Try to open a IMAP stream using $username / $password.
string | Username |
string | Password |
Definition at line 190 of file IMAP.php.
References AUTH_LOG_DEBUG, and Auth_Container\log().