13if (!array_key_exists(
'AuthState', $_REQUEST)) {
20}
catch (Exception $e) {
26 sspmod_saml_Auth_Source_SP::reauthPostLogout(
$idp,
$state);
29if (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.'
40if (isset(
$_POST[
'continue'])) {
50$template->data[
'AuthState'] = (string)$_REQUEST[
'AuthState'];
56if (array_key_exists(
'name',
$idpmd)) {
58} elseif (array_key_exists(
'OrganizationDisplayName',
$idpmd)) {
66if (array_key_exists(
'name',
$spmd)) {
68} elseif (array_key_exists(
'OrganizationDisplayName',
$spmd)) {
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
An exception for terminatinating execution or to throw for unit testing.
static getById($authId, $type=null)
Retrieve authentication source.
static throwException($state, SimpleSAML_Error_Exception $exception)
Throw exception to the state exception handler.
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
static getById($id)
Retrieve an IdP by ID.
Attribute-related utility methods.
catch(Exception $e) if(isset( $_POST[ 'cancel'])) if(isset($_POST['continue'])) $cfg