ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getAuthSource () | |
Retrieve the authentication source that should be used to authenticate the user. More... | |
getCookieName () | |
This function retrieves the name of the cookie from the configuration. More... | |
getUsernameAttr () | |
This function retrieves the name of the attribute which contains the username from the configuration. More... | |
getGroupsAttr () | |
This function retrieves the name of the attribute which contains the groups from the configuration. More... | |
getMemcache () | |
This function creates and initializes a Memcache object from our configuration. More... | |
Static Public Member Functions | |
static | getInstance () |
This function is used to retrieve the singleton instance of this class. More... | |
static | logoutHandler () |
This function implements the logout handler. More... | |
Private Member Functions | |
__construct () | |
This function implements the constructor for this class. More... | |
doLogout () | |
This function logs the user out by deleting the session information from memcache. More... | |
Private Attributes | |
$amcConfig | |
Static Private Attributes | |
static | $instance = null |
Definition at line 13 of file AuthMemCookie.php.
|
private |
This function implements the constructor for this class.
It loads the Auth MemCookie configuration.
Definition at line 46 of file AuthMemCookie.php.
References SimpleSAML_Configuration\getConfig().
|
private |
This function logs the user out by deleting the session information from memcache.
Definition at line 139 of file AuthMemCookie.php.
References $_COOKIE, $cookieName, $memcache, $sessionID, getCookieName(), getMemcache(), and SimpleSAML\Utils\HTTP\setCookie().
SimpleSAML_AuthMemCookie::getAuthSource | ( | ) |
Retrieve the authentication source that should be used to authenticate the user.
Definition at line 58 of file AuthMemCookie.php.
SimpleSAML_AuthMemCookie::getCookieName | ( | ) |
This function retrieves the name of the cookie from the configuration.
Exception | If the value of the 'cookiename' configuration option is invalid. |
Definition at line 70 of file AuthMemCookie.php.
References $cookieName.
Referenced by doLogout().
SimpleSAML_AuthMemCookie::getGroupsAttr | ( | ) |
This function retrieves the name of the attribute which contains the groups from the configuration.
Definition at line 101 of file AuthMemCookie.php.
References $groupsAttr.
|
static |
This function is used to retrieve the singleton instance of this class.
Definition at line 33 of file AuthMemCookie.php.
SimpleSAML_AuthMemCookie::getMemcache | ( | ) |
This function creates and initializes a Memcache object from our configuration.
Exception | If the servers configuration is invalid. |
Definition at line 115 of file AuthMemCookie.php.
References $memcache.
Referenced by doLogout().
SimpleSAML_AuthMemCookie::getUsernameAttr | ( | ) |
This function retrieves the name of the attribute which contains the username from the configuration.
Definition at line 88 of file AuthMemCookie.php.
References $usernameAttr.
|
static |
This function implements the logout handler.
It deletes the information from Memcache.
Definition at line 162 of file AuthMemCookie.php.
|
private |
Definition at line 25 of file AuthMemCookie.php.
|
staticprivate |
Definition at line 19 of file AuthMemCookie.php.