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 Twitter platform. More... | |
finalStep (&$state) | |
![]() | |
__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 = 'twitter:init' |
The string used to identify our states. More... | |
const | AUTHID = 'twitter:AuthId' |
The key of the AuthId field in the state. More... | |
Private Attributes | |
$key | |
$secret | |
$force_login | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
addLogoutCallback ($assoc, $state) | |
Add a logout callback association. More... | |
callLogoutCallback ($assoc) | |
Call a logout callback based on association. More... | |
![]() | |
static | validateSource ($source, $id) |
Make sure that the first element of an auth source is its identifier. More... | |
![]() | |
$authId | |
Definition at line 11 of file Twitter.php.
sspmod_authtwitter_Auth_Source_Twitter::__construct | ( | $info, | |
$config | |||
) |
Constructor for this authentication source.
array | $info | Information about this authentication source. |
array | $config | Configuration. |
Definition at line 34 of file Twitter.php.
References $config, $info, and SimpleSAML_Configuration\loadFromArray().
sspmod_authtwitter_Auth_Source_Twitter::authenticate | ( | & | $state | ) |
Log-in using Twitter platform.
array | &$state | Information about the current authentication. |
Definition at line 55 of file Twitter.php.
References SimpleSAML_Auth_Source\$authId, $consumer, $requestToken, $state, $url, array, SimpleSAML\Logger\debug(), SimpleSAML\Module\getModuleURL(), and SimpleSAML_Auth_State\saveState().
sspmod_authtwitter_Auth_Source_Twitter::finalStep | ( | & | $state | ) |
Definition at line 82 of file Twitter.php.
References $accessToken, $attributes, $consumer, $key, $requestToken, $state, $userdata, array, SimpleSAML\Logger\debug(), and string.
|
private |
Definition at line 25 of file Twitter.php.
|
private |
Definition at line 23 of file Twitter.php.
Referenced by finalStep().
|
private |
Definition at line 24 of file Twitter.php.
const sspmod_authtwitter_Auth_Source_Twitter::AUTHID = 'twitter:AuthId' |
The key of the AuthId field in the state.
Definition at line 21 of file Twitter.php.
const sspmod_authtwitter_Auth_Source_Twitter::STAGE_INIT = 'twitter:init' |
The string used to identify our states.
Definition at line 16 of file Twitter.php.