ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
prp.php
Go to the documentation of this file.
1<?php
9SimpleSAML\Logger::info('ADFS - IdP.prp: Accessing ADFS IdP endpoint prp');
10
12$idpEntityId = $metadata->getMetaDataCurrentEntityID('adfs-idp-hosted');
14
15if (isset($_GET['wa'])) {
16 if ($_GET['wa'] === 'wsignout1.0') {
18 } else if ($_GET['wa'] === 'wsignin1.0') {
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}
$_GET["client_id"]
An exception for terminatinating execution or to throw for unit testing.
static info($string)
Definition: Logger.php:199
static getById($id)
Retrieve an IdP by ID.
Definition: IdP.php:124
static getMetadataHandler()
This function retrieves the current instance of the metadata handler.
static receiveLogoutMessage(SimpleSAML_IdP $idp)
Definition: ADFS.php:208
static receiveAuthnRequest(SimpleSAML_IdP $idp)
Definition: ADFS.php:8
$relayState
if(!isset($_REQUEST['association'])) $assocId
$idpEntityId
Definition: prp.php:12
$idp
Definition: prp.php:13
$metadata
Definition: prp.php:11