ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
loadSession ($sessionId=null) | |
Load a session from the data store. More... | |
saveSession (\SimpleSAML_Session $session) | |
Save a session to the data store. More... | |
Public Member Functions inherited from SimpleSAML\SessionHandlerCookie | |
newSessionId () | |
Create a new session id. More... | |
getCookieSessionId () | |
Retrieve the session ID saved in the session cookie, if there's one. More... | |
getSessionCookieName () | |
Retrieve the session cookie name. More... | |
hasSessionCookie () | |
Check whether the session cookie is set. More... | |
setCookie ($sessionName, $sessionID, array $cookieParams=null) | |
Set a session cookie. More... | |
Public Member Functions inherited from SimpleSAML\SessionHandler | |
newSessionId () | |
Create a new session id. More... | |
getCookieSessionId () | |
Retrieve the session ID saved in the session cookie, if there's one. More... | |
getSessionCookieName () | |
Retrieve the session cookie name. More... | |
saveSession (\SimpleSAML_Session $session) | |
Save the session. More... | |
loadSession ($sessionId=null) | |
Load the session. More... | |
hasSessionCookie () | |
Check whether the session cookie is set. More... | |
setCookie ($sessionName, $sessionID, array $cookieParams=null) | |
Set a session cookie. More... | |
getCookieParams () | |
Get the cookie parameters that should be used for session cookies. More... | |
Protected Member Functions | |
__construct (Store $store) | |
Initialize the session. More... | |
Protected Member Functions inherited from SimpleSAML\SessionHandlerCookie | |
__construct () | |
This constructor initializes the session id based on what we receive in a cookie. More... | |
Protected Member Functions inherited from SimpleSAML\SessionHandler | |
__construct () | |
This constructor is included in case it is needed in the future. More... | |
Private Attributes | |
$store | |
Additional Inherited Members | |
Static Public Member Functions inherited from SimpleSAML\SessionHandler | |
static | getSessionHandler () |
This function retrieves the current instance of the session handler. More... | |
Protected Attributes inherited from SimpleSAML\SessionHandlerCookie | |
$cookie_name | |
Static Protected Attributes inherited from SimpleSAML\SessionHandler | |
static | $sessionHandler = null |
Definition at line 12 of file SessionHandlerStore.php.
|
protected |
Initialize the session.
\SimpleSAML\Store | $store | The store to use. |
Definition at line 28 of file SessionHandlerStore.php.
References $store.
SimpleSAML\SessionHandlerStore::loadSession | ( | $sessionId = null | ) |
Load a session from the data store.
string | null | $sessionId | The ID of the session we should load, or null to use the default. |
Definition at line 43 of file SessionHandlerStore.php.
References $session.
SimpleSAML\SessionHandlerStore::saveSession | ( | \SimpleSAML_Session | $session | ) |
Save a session to the data store.
\SimpleSAML_Session | $session | The session object we should save. |
Definition at line 70 of file SessionHandlerStore.php.
References $config, $expire, SimpleSAML_Configuration\getInstance(), and SimpleSAML_Session\getSessionId().
|
private |
Definition at line 20 of file SessionHandlerStore.php.