ILIAS
Release_3_10_x_branch Revision 61812
|
Class CASAuth. More...
Public Member Functions | |
ilCASAuth ($a_params) | |
Constructor public. | |
checkCASAuth () | |
check cas autehntication | |
forceCASAuth () | |
getCASUser () | |
login () | |
Checks if the current user is authenticated yet public. | |
logout () | |
Register variable in a session telling that the user has logged in successfully. |
ilCASAuth::checkCASAuth | ( | ) |
check cas autehntication
can be called before forceAuthentication, but forceAuthentication must be called afterwards
Definition at line 72 of file class.ilCASAuth.php.
References $PHPCAS_CLIENT.
ilCASAuth::forceCASAuth | ( | ) |
Definition at line 79 of file class.ilCASAuth.php.
ilCASAuth::getCASUser | ( | ) |
Definition at line 84 of file class.ilCASAuth.php.
ilCASAuth::ilCASAuth | ( | $a_params | ) |
Constructor public.
Definition at line 43 of file class.ilCASAuth.php.
References CAS_VERSION_2_0.
ilCASAuth::login | ( | ) |
Checks if the current user is authenticated yet public.
integer | time in seconds |
bool | add time to current maximum idle time or not |
integer | time in seconds |
bool | add time to current expire time or not |
private
public
private
Definition at line 213 of file class.ilCASAuth.php.
References $ilSetting, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_generateLogin(), AUTH_CAS_NO_ILIAS_USER, AUTH_WRONG_LOGIN, IL_PASSWD_MD5, and logout().
ilCASAuth::logout | ( | ) |
Register variable in a session telling that the user has logged in successfully.
public
string | Username |
This function clears any auth tokens in the currently active session and executes the logout callback function, if any
public
Definition at line 341 of file class.ilCASAuth.php.
Referenced by login().