30        parent::__construct();
 
   45        assert(is_string($sessionId) || $sessionId === 
null);
 
   47        if ($sessionId === 
null) {
 
   48            $sessionId = $this->getCookieSessionId();
 
   49            if ($sessionId === 
null) {
 
   55        $session = $this->store->get(
'session', $sessionId);
 
   72        $sessionId = 
$session->getSessionId();
 
   75        $sessionDuration = 
$config->getInteger(
'session.duration', 8 * 60 * 60);
 
   76        $expire = time() + $sessionDuration;
 
An exception for terminatinating execution or to throw for unit testing.
loadSession($sessionId=null)
Load a session from the data store.
__construct(Store $store)
Initialize the session.
saveSession(\SimpleSAML_Session $session)
Save a session to the data store.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
if(! $oauthconfig->getBoolean('getUserInfo.enable', FALSE)) $store
Attribute-related utility methods.