ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($info, $config) | |
Constructor for this authentication source. More... | |
authenticate (&$state) | |
Log-in using MySpace platform. More... | |
finalStep (&$state) | |
Public Member Functions inherited from SimpleSAML_Auth_Source | |
__construct ($info, &$config) | |
Constructor for an authentication source. More... | |
getAuthId () | |
Retrieve the ID of this authentication source. More... | |
authenticate (&$state) | |
Process a request. More... | |
reauthenticate (array &$state) | |
Reauthenticate an user. More... | |
initLogin ($return, $errorURL=null, array $params=array()) | |
Start authentication. More... | |
logout (&$state) | |
Log out from this authentication source. More... | |
Data Fields | |
const | STAGE_INIT = 'authmyspace:init' |
The string used to identify our states. More... | |
const | AUTHID = 'authmyspace:AuthId' |
The key of the AuthId field in the state. More... | |
Private Attributes | |
$key | |
$secret | |
Additional Inherited Members | |
Static Public Member Functions inherited from SimpleSAML_Auth_Source | |
static | getSourcesOfType ($type) |
Get sources of a specific type. More... | |
static | completeAuth (&$state) |
Complete authentication. More... | |
static | loginCompleted ($state) |
Called when a login operation has finished. More... | |
static | completeLogout (&$state) |
Complete logout. More... | |
static | getById ($authId, $type=null) |
Retrieve authentication source. More... | |
static | logoutCallback ($state) |
Called when the authentication source receives an external logout request. More... | |
static | getSources () |
Retrieve list of authentication sources. More... | |
Protected Member Functions inherited from SimpleSAML_Auth_Source | |
addLogoutCallback ($assoc, $state) | |
Add a logout callback association. More... | |
callLogoutCallback ($assoc) | |
Call a logout callback based on association. More... | |
Static Protected Member Functions inherited from SimpleSAML_Auth_Source | |
static | validateSource ($source, $id) |
Make sure that the first element of an auth source is its identifier. More... | |
Protected Attributes inherited from SimpleSAML_Auth_Source | |
$authId | |
Definition at line 11 of file MySpace.php.
sspmod_authmyspace_Auth_Source_MySpace::__construct | ( | $info, | |
$config | |||
) |
Constructor for this authentication source.
array | $info | Information about this authentication source. |
array | $config | Configuration. |
Definition at line 33 of file MySpace.php.
References $config, and $info.
sspmod_authmyspace_Auth_Source_MySpace::authenticate | ( | & | $state | ) |
Log-in using MySpace platform.
array | &$state | Information about the current authentication. |
Definition at line 57 of file MySpace.php.
References SimpleSAML_Auth_Source\$authId, $consumer, $requestToken, $state, SimpleSAML\Logger\debug(), and SimpleSAML_Auth_State\saveState().
sspmod_authmyspace_Auth_Source_MySpace::finalStep | ( | & | $state | ) |
Definition at line 82 of file MySpace.php.
References $accessToken, $attributes, $consumer, $key, $requestToken, $state, $userdata, array, and SimpleSAML\Logger\debug().
|
private |
Definition at line 23 of file MySpace.php.
Referenced by finalStep().
|
private |
Definition at line 24 of file MySpace.php.
const sspmod_authmyspace_Auth_Source_MySpace::AUTHID = 'authmyspace:AuthId' |
The key of the AuthId field in the state.
Definition at line 21 of file MySpace.php.
const sspmod_authmyspace_Auth_Source_MySpace::STAGE_INIT = 'authmyspace:init' |
The string used to identify our states.
Definition at line 16 of file MySpace.php.