ILIAS
Release_5_0_x_branch Revision 61816
|
Pear auth container for openid More...
Public Member Functions | |
__construct () | |
Constructor. | |
fetchData ($a_username, $a_password, $isChallengeResponse=false) | |
forceCreation ($a_status) | |
Force creation of user accounts. | |
loginObserver ($a_username, $a_auth) | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
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 | |
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. | |
supportsCaptchaVerification () | |
Returns whether or not the auth container supports the verification of captchas This should be true for those auth methods, which are available in the default login form. |
Protected Member Functions | |
initSettings () | |
Init open id settings. |
Private Attributes | |
$settings = null | |
$response_data = array() | |
$force_creation = false |
Additional Inherited Members | |
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. |
Pear auth container for openid
Definition at line 13 of file class.ilAuthContainerOpenId.php.
ilAuthContainerOpenId::__construct | ( | ) |
Constructor.
Definition at line 24 of file class.ilAuthContainerOpenId.php.
References initSettings().
ilAuthContainerOpenId::fetchData | ( | $a_username, | |
$a_password, | |||
$isChallengeResponse = false |
|||
) |
string | $a_username | |
string | $a_password | |
bool | $isChallengeResponse,[optional] |
Reimplemented from Auth_Container.
Definition at line 38 of file class.ilAuthContainerOpenId.php.
References $ilLog, Auth_OpenID_CANCEL, Auth_OpenID_FAILURE, Auth_OpenID_SUCCESS, Auth_OpenID_supportsSReg(), and Auth_OpenID_SRegResponse\fromSuccessResponse().
ilAuthContainerOpenId::forceCreation | ( | $a_status | ) |
Force creation of user accounts.
public
bool | force_creation |
Definition at line 105 of file class.ilAuthContainerOpenId.php.
|
protected |
Init open id settings.
Definition at line 174 of file class.ilAuthContainerOpenId.php.
References ilOpenIdSettings\getInstance().
Referenced by __construct(), and loginObserver().
ilAuthContainerOpenId::loginObserver | ( | $a_username, | |
$a_auth | |||
) |
Reimplemented from ilAuthContainerBase.
Definition at line 114 of file class.ilAuthContainerOpenId.php.
References $_GET, $_POST, $_SESSION, $GLOBALS, $ilLog, $new_user, ilObjUser\_checkExternalAuthAccount(), AUTH_OPENID_NO_ILIAS_USER, initSettings(), and ilUtil\redirect().
|
private |
Definition at line 18 of file class.ilAuthContainerOpenId.php.
|
private |
Definition at line 17 of file class.ilAuthContainerOpenId.php.
|
private |
Definition at line 15 of file class.ilAuthContainerOpenId.php.