19 declare(strict_types=1);
26 use SimpleSAML\Module as SimpleSamlModule;
32 public static function run(): void
35 if (preg_match(
'@^/saml/sp/saml2-logout.php/@',
$_SERVER[
'PATH_INFO'])) {
38 $DIC[
'ilAuthSession']->logout();
39 $DIC[
'ilAppEventHandler']->raise(
'components/ILIAS/Authentication',
'afterLogout', [
40 'username' => $DIC->user()->getLogin(),
43 SimpleSamlModule::process()->send();
49 $config = Configuration::getInstance();
50 if ($config->getOptionalBoolean(
'admin.protectmetadata',
false)) {
52 $admin->requireAdmin();
56 self::sendXMLString($xml);
65 ->withHeader(
'Content-Type',
'application/xml')
66 ->withBody(Streams::ofString($xml_string));
69 $http->sendResponse();
const int SESSION_CLOSE_USER
static setClosingContext(int $a_context)
set closing context (for statistics)
Class ilCertificateSettingsCmiXapiFormRepository.
static sendXMLString(string $xml_string)