ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
resumelogout.php
Go to the documentation of this file.
1 <?php
2 
3 if (!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);
static getByState(array &$state)
Retrieve the IdP "owning" the state.
Definition: IdP.php:152
$idp
Definition: resumelogout.php:7
if(!isset($_REQUEST['id'])) $state
Definition: resumelogout.php:6
$assocId
Definition: resumelogout.php:9
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition: State.php:259
$handler