ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
Auth_Container_Pear ($data=null) | |
Constructor. | |
fetchData ($username, $password) | |
Get user information from pear.php.net. | |
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 | |
$url = 'https://pear.php.net/rest-login.php/' | |
$karma = 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_Pear::Auth_Container_Pear | ( | $data = null | ) |
Constructor.
Accepts options "url" and "karma", see class docs.
array | $data | Array of options |
Definition at line 89 of file PEAR.php.
References $data, and PEAR\raiseError().
Auth_Container_Pear::fetchData | ( | $username, | |
$password | |||
) |
Get user information from pear.php.net.
This function uses the given username and password to authenticate against the pear.php.net website
string | Username |
string | Password |
Definition at line 120 of file PEAR.php.
References $client, $password, AUTH_LOG_DEBUG, Auth_Container\log(), and PEAR\raiseError().
Auth_Container_Pear::$url = 'https://pear.php.net/rest-login.php/' |