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