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)) $id
static redirectTrustedURL($url, $parameters=array())
This function redirects to the specified URL without performing any security checks.
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
process(&$state)
Process a authentication response.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Create styles array
The data for the language used.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
static saveState(&$state, $stage, $rawId=false)
Save the state.