ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
short_sso_interval.php
Go to the documentation of this file.
1<?php
9if (!array_key_exists('StateId', $_REQUEST)) {
10 throw new SimpleSAML_Error_BadRequest('Missing required StateId query parameter.');
11}
12$id = $_REQUEST['StateId'];
13$state = SimpleSAML_Auth_State::loadState($id, 'core:short_sso_interval');
15
16if (array_key_exists('continue', $_REQUEST)) {
17 // The user has pressed the continue/retry-button
19}
20
22$t = new SimpleSAML_XHTML_Template($globalConfig, 'core:short_sso_interval.php');
23$t->data['target'] = SimpleSAML\Module::getModuleURL('core/short_sso_interval.php');
24$t->data['params'] = array('StateId' => $id);
25$t->data['trackId'] = $session->getTrackID();
26$t->show();
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.
Definition: Module.php:220
static resumeProcessing($state)
Continues processing of the state.
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition: State.php:259
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:241
if(!array_key_exists('StateId', $_REQUEST)) $id
if(array_key_exists('continue', $_REQUEST)) $globalConfig