8if (!array_key_exists(
'StateId', $_REQUEST)) {
9 throw new \SimpleSAML_Error_BadRequest(
'Missing required StateId query parameter.');
11$id = $_REQUEST[
'StateId'];
16 ' '.implode(
',', array_keys(
$state[
'core:cardinality:errorAttributes'])));
19$t = new \SimpleSAML_XHTML_Template(
$globalConfig,
'core:cardinality_error.tpl.php');
20$t->data[
'cardinalityErrorAttributes'] =
$state[
'core:cardinality:errorAttributes'];
21if (isset(
$state[
'Source'][
'auth'])) {
24header(
'HTTP/1.0 403 Forbidden');
if(!array_key_exists('StateId', $_REQUEST)) $id
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 loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
static getSessionFromRequest()
Retrieves the current session.