ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
logout-iframe.php File Reference

Go to the source code of this file.

Variables

if(!isset($_REQUEST['id'])) if(isset($_REQUEST['type'])) else
 
if($type !=='embed') $state = SimpleSAML_Auth_State::loadState($_REQUEST['id'], 'core:Logout-IFrame')
 
 $idp = SimpleSAML_IdP::getByState($state)
 
 $mdh = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler()
 
if($type !=='init') $associations = $idp->getAssociations()
 
foreach($state['core:Logout-IFrame:Associations'] as $assocId=> &$sp) $terminated = null
 
if($state['core:TerminatedAssocId'] !==null) $remaining = array()
 
foreach($state['core:Logout-IFrame:Associations'] as $association) $id = SimpleSAML_Auth_State::saveState($state, 'core:Logout-IFrame')
 
 $globalConfig = SimpleSAML_Configuration::getInstance()
 
 $template_id = 'core:logout-iframe.php'
 
if($type==='nojs') $t = new SimpleSAML_XHTML_Template($globalConfig, $template_id)
 
$t data ['auth_state'] = $id
 
$t data ['id'] = $id
 
$t data ['type'] = $type
 
$t data ['terminated_service'] = $terminated
 
$t data ['remaining_services'] = $remaining
 
$t data ['from'] = $state['core:Logout-IFrame:From']
 
$t data ['SPs'] = $state['core:Logout-IFrame:Associations']
 

Variable Documentation

◆ $associations

if ( $type !=='init') $associations = $idp->getAssociations()

Definition at line 66 of file logout-iframe.php.

◆ $globalConfig

Definition at line 116 of file logout-iframe.php.

◆ $id

foreach ( $state[ 'core:Logout-IFrame:Associations'] as $association) $id = SimpleSAML_Auth_State::saveState($state, 'core:Logout-IFrame')

Definition at line 115 of file logout-iframe.php.

◆ $idp

Definition at line 22 of file logout-iframe.php.

◆ $mdh

◆ $remaining

◆ $state

if ( $type !=='embed') $state = SimpleSAML_Auth_State::loadState($_REQUEST['id'], 'core:Logout-IFrame')

Definition at line 21 of file logout-iframe.php.

◆ $t

if ( $type==='nojs') $t = new SimpleSAML_XHTML_Template($globalConfig, $template_id)

Definition at line 123 of file logout-iframe.php.

◆ $template_id

◆ $terminated

foreach ( $state[ 'core:Logout-IFrame:Associations'] as $assocId=> & $sp) $terminated = null

Definition at line 83 of file logout-iframe.php.

◆ data [1/7]

$t data[ 'auth_state'] = $id

Definition at line 124 of file logout-iframe.php.

◆ data [2/7]

$t data[ 'id'] = $id
Deprecated:
The "id" variable will be removed.

Please use "auth_state" instead.

Definition at line 128 of file logout-iframe.php.

◆ data [3/7]

$t data[ 'type'] = $type

Definition at line 129 of file logout-iframe.php.

◆ data [4/7]

$t data[ 'terminated_service'] = $terminated

Definition at line 130 of file logout-iframe.php.

◆ data [5/7]

$t data[ 'remaining_services'] = $remaining

Definition at line 131 of file logout-iframe.php.

◆ data [6/7]

$t data[ 'from'] = $state['core:Logout-IFrame:From']
Deprecated:
The "from" array will be removed in 2.0, use the "terminated_service" array instead

Definition at line 134 of file logout-iframe.php.

◆ data [7/7]

$t data[ 'SPs'] = $state['core:Logout-IFrame:Associations']
Deprecated:
The "SPs" array will be removed, use the "remaining_services" array instead

Definition at line 137 of file logout-iframe.php.

◆ else

if (!isset( $_REQUEST[ 'id'])) if (isset( $_REQUEST[ 'type'])) else
Initial value:
{
$type = 'init'
$type

Definition at line 12 of file logout-iframe.php.