8 if (array_key_exists(
'AuthState', $_REQUEST) && !empty($_REQUEST[
'AuthState'])) {
10 } elseif (array_key_exists(
'state', $_REQUEST) && !empty($_REQUEST[
'state'])) {
28 if (isset($_REQUEST[
'error_reason']) && $_REQUEST[
'error_reason'] ==
'user_denied') {
const AUTHID
The key of the AuthId field in the state.
static throwException($state, SimpleSAML_Error_Exception $exception)
Throw exception to the state exception handler.
const STAGE_INIT
The string used to identify our states.
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
if(!array_key_exists(sspmod_authfacebook_Auth_Source_Facebook::AUTHID, $state)) $sourceId
static loadState($id, $stage, $allowMissing=false)
Retrieve saved state.
static completeAuth(&$state)
Complete authentication.
static getById($authId, $type=null)
Retrieve authentication source.