ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
resumelogout.php
Go to the documentation of this file.
1<?php
2
3if (!isset($_REQUEST['id'])) {
4 throw new SimpleSAML_Error_BadRequest('Missing id-parameter.');
5}
6$state = SimpleSAML_Auth_State::loadState($_REQUEST['id'], 'core:Logout:afterbridge');
8
9$assocId = $state['core:TerminatedAssocId'];
10
11$handler = $idp->getLogoutHandler();
12$handler->startLogout($state, $assocId);
An exception for terminatinating execution or to throw for unit testing.
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition: State.php:259
static getByState(array &$state)
Retrieve the IdP "owning" the state.
Definition: IdP.php:152
if(!isset($_REQUEST['id'])) $state
Definition: resumelogout.php:6
$idp
Definition: resumelogout.php:7
$handler
$assocId
Definition: resumelogout.php:9