ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Variables | |
$config = SimpleSAML_Configuration::getInstance() | |
if(!array_key_exists('as', $_REQUEST)) | $asId = (string) $_REQUEST['as'] |
$as = new \SimpleSAML\Auth\Simple($asId) | |
if(array_key_exists('logout', $_REQUEST)) if(array_key_exists(SimpleSAML_Auth_State::EXCEPTION_PARAM, $_REQUEST)) if(! $as->isAuthenticated()) | $attributes = $as->getAttributes() |
$authData = $as->getAuthDataArray() | |
$t = new SimpleSAML_XHTML_Template($config, 'status.php', 'attributes') | |
$t | data ['header'] = '{status:header_saml20_sp}' |
$t | data ['attributes'] = $attributes |
$t | data ['authData'] = $authData |
$t | data ['nameid'] = !is_null($as->getAuthData('saml:sp:NameID')) ? $as->getAuthData('saml:sp:NameID') : false |
$t | data ['logouturl'] = \SimpleSAML\Utils\HTTP::getSelfURLNoQuery().'?as='.urlencode($asId).'&logout' |
$as = new \SimpleSAML\Auth\Simple($asId) |
Definition at line 14 of file authenticate.php.
if (!array_key_exists( 'as', $_REQUEST)) $asId = (string) $_REQUEST['as'] |
Definition at line 13 of file authenticate.php.
if (array_key_exists( 'logout', $_REQUEST)) if (array_key_exists(SimpleSAML_Auth_State::EXCEPTION_PARAM, $_REQUEST)) if (! $as->isAuthenticated()) $attributes = $as->getAttributes() |
Definition at line 39 of file authenticate.php.
$authData = $as->getAuthDataArray() |
Definition at line 40 of file authenticate.php.
Referenced by ilStartUpGUI\doSamlAuthentication().
$config = SimpleSAML_Configuration::getInstance() |
Definition at line 3 of file authenticate.php.
$t = new SimpleSAML_XHTML_Template($config, 'status.php', 'attributes') |
Definition at line 42 of file authenticate.php.
$t data[ 'header'] = '{status:header_saml20_sp}' |
Definition at line 44 of file authenticate.php.
$t data[ 'attributes'] = $attributes |
Definition at line 45 of file authenticate.php.
$t data[ 'authData'] = $authData |
Definition at line 46 of file authenticate.php.
$t data[ 'nameid'] = !is_null($as->getAuthData('saml:sp:NameID')) ? $as->getAuthData('saml:sp:NameID') : false |
Definition at line 47 of file authenticate.php.
$t data[ 'logouturl'] = \SimpleSAML\Utils\HTTP::getSelfURLNoQuery().'?as='.urlencode($asId).'&logout' |
Definition at line 48 of file authenticate.php.