13 if (!array_key_exists(
'AuthState', $_REQUEST)) {
26 sspmod_saml_Auth_Source_SP::reauthPostLogout(
$idp,
$state);
29 if (isset(
$_POST[
'cancel'])) {
33 new \
SimpleSAML\Module\saml\Error\NoAvailableIDP(
34 \
SAML2\Constants::STATUS_RESPONDER,
35 'User refused to reauthenticate with any of the IdPs requested.' 40 if (isset(
$_POST[
'continue'])) {
50 $template->data[
'AuthState'] = (string)$_REQUEST[
'AuthState'];
56 if (array_key_exists(
'name',
$idpmd)) {
58 } elseif (array_key_exists(
'OrganizationDisplayName',
$idpmd)) {
66 if (array_key_exists(
'name',
$spmd)) {
68 } elseif (array_key_exists(
'OrganizationDisplayName',
$spmd)) {
static getById($id)
Retrieve an IdP by ID.
static throwException($state, SimpleSAML_Error_Exception $exception)
Throw exception to the state exception handler.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Attribute-related utility methods.
catch(Exception $e) if(isset($_POST['cancel'])) if(isset($_POST['continue'])) $cfg
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
static getById($authId, $type=null)
Retrieve authentication source.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.