ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
prp.php
Go to the documentation of this file.
1
<?php
9
SimpleSAML\Logger::info
(
'ADFS - IdP.prp: Accessing ADFS IdP endpoint prp'
);
10
11
$metadata
=
SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler
();
12
$idpEntityId
=
$metadata
->getMetaDataCurrentEntityID(
'adfs-idp-hosted'
);
13
$idp
=
SimpleSAML_IdP::getById
(
'adfs:'
.
$idpEntityId
);
14
15
if
(isset(
$_GET
[
'wa'
])) {
16
if
(
$_GET
[
'wa'
] ===
'wsignout1.0'
) {
17
sspmod_adfs_IdP_ADFS::receiveLogoutMessage
(
$idp
);
18
}
else
if
(
$_GET
[
'wa'
] ===
'wsignin1.0'
) {
19
sspmod_adfs_IdP_ADFS::receiveAuthnRequest
(
$idp
);
20
}
21
assert(
'false'
);
22
} elseif (isset(
$_GET
[
'assocId'
])) {
23
// logout response from ADFS SP
24
$assocId
=
$_GET
[
'assocId'
];
// Association ID of the SP that sent the logout response
25
$relayState
=
$_GET
[
'relayState'
];
// Data that was sent in the logout request to the SP. Can be null
26
$logoutError = null;
// null on success, or an instance of a SimpleSAML_Error_Exception on failure.
27
$idp
->handleLogoutResponse(
$assocId
,
$relayState
, $logoutError);
28
}
sspmod_adfs_IdP_ADFS\receiveAuthnRequest
static receiveAuthnRequest(SimpleSAML_IdP $idp)
Definition:
ADFS.php:5
SimpleSAML_Metadata_MetaDataStorageHandler\getMetadataHandler
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
Definition:
MetaDataStorageHandler.php:40
$idpEntityId
$idpEntityId
Definition:
prp.php:12
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
SimpleSAML_IdP\getById
static getById($id)
Retrieve an IdP by ID.
Definition:
IdP.php:131
SimpleSAML\Logger\info
static info($string)
Definition:
Logger.php:201
$relayState
$relayState
Definition:
logout-iframe-post.php:14
$idp
$idp
Definition:
prp.php:13
$assocId
if(!isset($_REQUEST['association'])) $assocId
Definition:
logout-iframe-post.php:12
$metadata
$metadata
Definition:
prp.php:11
sspmod_adfs_IdP_ADFS\receiveLogoutMessage
static receiveLogoutMessage(SimpleSAML_IdP $idp)
Definition:
ADFS.php:189
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
adfs
www
idp
prp.php
Generated on Sat Jan 18 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)