ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
resume.php
Go to the documentation of this file.
1<?php
2
3
4if (!array_key_exists('domain', $_REQUEST)) {
5 throw new SimpleSAML_Error_BadRequest('Missing domain to CDC resume handler.');
6}
7
8$domain = (string)$_REQUEST['domain'];
10
11$response = $client->getResponse();
12if ($response === NULL) {
13 throw new SimpleSAML_Error_BadRequest('Missing CDC response to CDC resume handler.');
14}
15
16if (!isset($response['id'])) {
17 throw new SimpleSAML_Error_BadRequest('CDCResponse without id.');
18}
20
if( $response===NULL) if(!isset($response['id'])) $state
Definition: resume.php:19
if(!array_key_exists('domain', $_REQUEST)) $domain
Definition: resume.php:8
$client
Definition: resume.php:9
$response
Definition: resume.php:11
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