ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
disable.php
Go to the documentation of this file.
1
<?php
2
11
$params
=
array
(
12
'expire'
=> (mktime(0,0,0,1,1,2038)),
13
'secure'
=> FALSE,
14
'httponly'
=> TRUE,
15
);
16
\SimpleSAML\Utils\HTTP::setCookie
(
'NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT'
,
'True'
,
$params
, FALSE);
17
18
$globalConfig
=
SimpleSAML_Configuration::getInstance
();
19
$session
=
SimpleSAML_Session::getSessionFromRequest
();
20
$session
->setData(
'negotiate:disable'
,
'session'
, FALSE, 24*60*60);
21
$t
=
new
SimpleSAML_XHTML_Template
(
$globalConfig
,
'negotiate:disable.php'
);
22
$t
->data[
'url'
] =
SimpleSAML\Module::getModuleURL
(
'negotiate/enable.php'
);
23
$t
->show();
$params
$params
Definition:
disable.php:11
$t
$t
Definition:
disable.php:21
$globalConfig
$globalConfig
Definition:
disable.php:18
SimpleSAML\Module\getModuleURL
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Definition:
Module.php:303
$session
$session
Definition:
disable.php:19
SimpleSAML\Utils\HTTP\setCookie
static setCookie($name, $value, $params=null, $throw=true)
Set a cookie.
Definition:
HTTP.php:1107
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
SimpleSAML_XHTML_Template
Definition:
Template.php:16
SimpleSAML_Session\getSessionFromRequest
static getSessionFromRequest()
Retrieves the current session.
Definition:
Session.php:243
SimpleSAML_Configuration\getInstance
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
Definition:
Configuration.php:297
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
negotiate
www
disable.php
Generated on Sat Jan 18 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)