|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for sspmod_authlinkedin_Auth_Source_LinkedIn:
Collaboration diagram for sspmod_authlinkedin_Auth_Source_LinkedIn:Public Member Functions | |
| __construct ($info, $config) | |
| Constructor for this authentication source. More... | |
| authenticate (&$state) | |
| Log-in using LinkedIn platform Documentation at: http://developer.linkedin.com/docs/DOC-1008. 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 = 'authlinkedin:init' |
| The string used to identify our states. More... | |
| const | AUTHID = 'authlinkedin:AuthId' |
| The key of the AuthId field in the state. More... | |
Protected Member Functions | |
| flatten ($array, $prefix='') | |
| takes an associative array, traverses it and returns the keys concatenated with a dot 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... | |
Private Attributes | |
| $key | |
| $secret | |
| $attributes | |
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... | |
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 LinkedIn.php.
| sspmod_authlinkedin_Auth_Source_LinkedIn::__construct | ( | $info, | |
| $config | |||
| ) |
Constructor for this authentication source.
| array | $info | Information about this authentication source. |
| array | $config | Configuration. |
Definition at line 35 of file LinkedIn.php.
| sspmod_authlinkedin_Auth_Source_LinkedIn::authenticate | ( | & | $state | ) |
Log-in using LinkedIn platform Documentation at: http://developer.linkedin.com/docs/DOC-1008.
| array | &$state | Information about the current authentication. |
Reimplemented from SimpleSAML_Auth_Source.
Definition at line 68 of file LinkedIn.php.
References SimpleSAML_Auth_Source\$authId, $consumer, $requestToken, $state, AUTHID, SimpleSAML\Logger\debug(), SimpleSAML_Auth_State\getStateId(), and SimpleSAML_Auth_State\saveState().
Here is the call graph for this function:| sspmod_authlinkedin_Auth_Source_LinkedIn::finalStep | ( | & | $state | ) |
Definition at line 101 of file LinkedIn.php.
References $accessToken, $attributes, $consumer, $requestToken, $state, $userdata, SimpleSAML\Logger\debug(), and flatten().
Here is the call graph for this function:
|
protected |
takes an associative array, traverses it and returns the keys concatenated with a dot
e.g.:
[ 'linkedin' => [ 'location' => [ 'id' => '123456' 'country' => [ 'code' => 'de' ] ] ]
become:
[ 'linkedin.location.id' => [0 => '123456'], 'linkedin.location.country.code' => [0 => 'de'] ]
| array | $array | |
| string | $prefix |
Definition at line 170 of file LinkedIn.php.
References $key, $result, and flatten().
Referenced by finalStep(), and flatten().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 26 of file LinkedIn.php.
Referenced by finalStep().
|
private |
Definition at line 24 of file LinkedIn.php.
Referenced by flatten().
|
private |
Definition at line 25 of file LinkedIn.php.
| const sspmod_authlinkedin_Auth_Source_LinkedIn::AUTHID = 'authlinkedin:AuthId' |
The key of the AuthId field in the state.
Definition at line 22 of file LinkedIn.php.
Referenced by authenticate().
| const sspmod_authlinkedin_Auth_Source_LinkedIn::STAGE_INIT = 'authlinkedin:init' |
The string used to identify our states.
Definition at line 17 of file LinkedIn.php.