ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
linkback.php File Reference

Go to the source code of this file.

Variables

if(!array_key_exists('state', $_REQUEST)) $state = SimpleSAML_Auth_State::loadState($_REQUEST['state'], sspmod_authwindowslive_Auth_Source_LiveID::STAGE_INIT)
 Handle linkback() response from Windows Live ID. More...
 
if(array_key_exists('code', $_REQUEST)) else
 
 $sourceId = $state[sspmod_authwindowslive_Auth_Source_LiveID::AUTHID]
 
 $source = SimpleSAML_Auth_Source::getById($sourceId)
 

Variable Documentation

◆ $source

$source = SimpleSAML_Auth_Source::getById($sourceId)

Definition at line 39 of file linkback.php.

◆ $sourceId

Definition at line 37 of file linkback.php.

◆ $state

if (!array_key_exists( 'state', $_REQUEST)) $state = SimpleSAML_Auth_State::loadState($_REQUEST['state'], sspmod_authwindowslive_Auth_Source_LiveID::STAGE_INIT)

Handle linkback() response from Windows Live ID.

Definition at line 10 of file linkback.php.

◆ else

if (array_key_exists( 'code', $_REQUEST)) else
Initial value:
{
if ($_REQUEST['error'] === 'user_denied') {
}
throw new Exception('Authentication failed: ['.$_REQUEST['error'].'] '.$_REQUEST['error_description'])
static throwException($state, SimpleSAML_Error_Exception $exception)
Throw exception to the state exception handler.
Definition: State.php:343
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10

Definition at line 20 of file linkback.php.