19                assert(
'is_array($state)');
 
   21                if (!array_key_exists(
'PreviousSSOTimestamp', 
$state)) {
 
   29                $timeDelta = time() - 
$state[
'PreviousSSOTimestamp'];
 
   30                if ($timeDelta >= 10) {
 
   35                if (array_key_exists(
'Destination', 
$state)
 
   36                        && array_key_exists(
'entityid', 
$state[
'Destination'])) {
 
   43                        ' seconds since last SSO for this user from the SP ' .
 
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
An exception for terminatinating execution or to throw for unit testing.
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
static redirectTrustedURL($url, $parameters=array())
This function redirects to the specified URL without performing any security checks.
static saveState(&$state, $stage, $rawId=false)
Save the state.
process(&$state)
Process a authentication response.
if(!array_key_exists('StateId', $_REQUEST)) $id