ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class CASAuth. More...
Public Member Functions | |
__construct ($a_params) | |
Constructor @access public. More... | |
checkCASAuth () | |
check cas autehntication More... | |
forceCASAuth () | |
getCASUser () | |
login () | |
Checks if the current user is authenticated yet @access public. More... | |
logout () | |
Register variable in a session telling that the user has logged in successfully. More... | |
ilCASAuth::__construct | ( | $a_params | ) |
Constructor @access public.
Definition at line 43 of file class.ilCASAuth.php.
References CAS_VERSION_2_0, and phpCAS\client().
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.
ilCASAuth::forceCASAuth | ( | ) |
Definition at line 79 of file class.ilCASAuth.php.
References phpCAS\forceAuthentication().
ilCASAuth::getCASUser | ( | ) |
Definition at line 84 of file class.ilCASAuth.php.
References phpCAS\getUser().
ilCASAuth::login | ( | ) |
Checks if the current user is authenticated yet @access 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 |
@access private
@access public
@access private
Definition at line 213 of file class.ilCASAuth.php.
References $ilSetting, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_generateLogin(), AUTH_CAS_NO_ILIAS_USER, phpCAS\getUser(), IL_PASSWD_CRYPTED, and logout().
ilCASAuth::logout | ( | ) |
Register variable in a session telling that the user has logged in successfully.
@access public
string | Username |
This function clears any auth tokens in the currently active session and executes the logout callback function, if any
@access public
Definition at line 341 of file class.ilCASAuth.php.
Referenced by login().