11 if (empty(
$state[
'Expire']) || empty(
$state[
'Authority'])) {
16 $delta =
$state[
'Expire'] - $now;
19 $sessionDuration =
$globalConfig->getInteger(
'session.duration', 8*60*60);
22 if ($delta >= ($sessionDuration * 0.5)) {
33 $rememberMeExpire =
$session->getRememberMeExpire();
34 if (!empty(
$state[
'RememberMe']) && $rememberMeExpire !== NULL &&
$globalConfig->getBoolean(
'session.rememberme.enable', FALSE)) {
41 $cookieParams = $sessionHandler->getCookieParams();
42 if ($cookieParams[
'lifetime'] > 0) {
Extend IdP session and cookies.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
static getSessionHandler()
This function retrieves the current instance of the session handler.
static getSessionFromRequest()
Retrieves the current session.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.