ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
redirecttest.php
Go to the documentation of this file.
1<?php
2
10if (!array_key_exists('StateId', $_REQUEST)) {
11 throw new SimpleSAML_Error_BadRequest('Missing required StateId query parameter.');
12}
13$state = SimpleSAML_Auth_State::loadState($_REQUEST['StateId'], 'exampleauth:redirectfilter-test');
14
15$state['Attributes']['RedirectTest2'] = array('OK');
16
An exception for terminatinating execution or to throw for unit testing.
static resumeProcessing($state)
Continues processing of the state.
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition: State.php:259
if(!array_key_exists('StateId', $_REQUEST)) $state