5 if (!array_key_exists(
'as', $_REQUEST)) {
13 $asId = (string) $_REQUEST[
'as'];
16 if (array_key_exists(
'logout', $_REQUEST)) {
17 $as->logout(
$config->getBasePath().
'logout.php');
30 if (!
$as->isAuthenticated()) {
44 $t->data[
'header'] =
'{status:header_saml20_sp}';
47 $t->data[
'nameid'] = !is_null(
$as->getAuthData(
'saml:sp:NameID')) ?
$as->getAuthData(
'saml:sp:NameID') :
false;
if(array_key_exists('logout', $_REQUEST)) if(array_key_exists(SimpleSAML_Auth_State::EXCEPTION_PARAM, $_REQUEST)) if(! $as->isAuthenticated()) $attributes
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
const EXCEPTION_PARAM
The URL parameter which contains the exception state id.
static getSelfURLNoQuery()
Retrieve the current URL using the base URL in the configuration, without the query parameters...
const EXCEPTION_DATA
The index in the state array which contains the exception data.
static loadExceptionState($id=null)
Retrieve an exception state.
if(!array_key_exists('as', $_REQUEST)) $asId
static getSources()
Retrieve list of authentication sources.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.