5if (!array_key_exists(
'as', $_REQUEST)) {
13$asId = (string) $_REQUEST[
'as'];
16if (array_key_exists(
'logout', $_REQUEST)) {
17 $as->logout(
$config->getBasePath().
'logout.php');
30if (!
$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
if(!array_key_exists('as', $_REQUEST)) $asId
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
An exception for terminatinating execution or to throw for unit testing.
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
static getSelfURLNoQuery()
Retrieve the current URL using the base URL in the configuration, without the query parameters.
static getSources()
Retrieve list of authentication sources.
const EXCEPTION_DATA
The index in the state array which contains the exception data.
const EXCEPTION_PARAM
The URL parameter which contains the exception state id.
static loadExceptionState($id=null)
Retrieve an exception state.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.