|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class CASAuth. More...
Inheritance diagram for ilCASAuth:
Collaboration diagram for ilCASAuth: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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SimpleSAML\Utils\Auth | |
| static | getAdminLoginURL ($returnTo=null) |
| Retrieve a admin login URL. More... | |
| static | isAdmin () |
| Check whether the current user is admin. More... | |
| static | requireAdmin () |
| Require admin access to the current page. 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().
Here is the call graph for this function:| ilCASAuth::checkCASAuth | ( | ) |
check cas autehntication
can be called before forceAuthentication, but forceAuthentication must be called afterwards
Definition at line 73 of file class.ilCASAuth.php.
| ilCASAuth::forceCASAuth | ( | ) |
Definition at line 80 of file class.ilCASAuth.php.
References phpCAS\forceAuthentication().
Here is the call graph for this function:| ilCASAuth::getCASUser | ( | ) |
Definition at line 85 of file class.ilCASAuth.php.
References phpCAS\getUser().
Here is the call graph for this function:| 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 214 of file class.ilCASAuth.php.
References $ilSetting, ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_generateLogin(), AUTH_CAS_NO_ILIAS_USER, phpCAS\getUser(), IL_PASSWD_CRYPTED, and logout().
Here is the call graph for this function:| 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 334 of file class.ilCASAuth.php.
Referenced by login().
Here is the caller graph for this function: