ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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'
);
7
$idp
=
SimpleSAML_IdP::getByState
(
$state
);
8
9
$assocId
=
$state
[
'core:TerminatedAssocId'
];
10
11
$handler
=
$idp
->getLogoutHandler();
12
$handler
->startLogout(
$state
,
$assocId
);
SimpleSAML_IdP\getByState
static getByState(array &$state)
Retrieve the IdP "owning" the state.
Definition:
IdP.php:152
$idp
$idp
Definition:
resumelogout.php:7
$state
if(!isset($_REQUEST['id'])) $state
Definition:
resumelogout.php:6
SimpleSAML_Error_BadRequest
Definition:
BadRequest.php:12
$assocId
$assocId
Definition:
resumelogout.php:9
SimpleSAML_Auth_State\loadState
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
Definition:
State.php:259
$handler
$handler
Definition:
resumelogout.php:11
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
core
www
idp
resumelogout.php
Generated on Tue Jan 28 2025 19:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)