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 an external authentication helper. More... | |
logout (&$state) | |
This function is called when the user start a logout operation, for example by logging out of a SP that supports single logout. More... | |
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... | |
Static Public Member Functions | |
static | resume () |
Resume authentication process. More... | |
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... | |
Private Member Functions | |
getUser () | |
Retrieve attributes for the user. More... | |
Additional Inherited Members | |
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 23 of file External.php.
sspmod_exampleauth_Auth_Source_External::__construct | ( | $info, | |
$config | |||
) |
Constructor for this authentication source.
array | $info | Information about this authentication source. |
array | $config | Configuration. |
Definition at line 31 of file External.php.
References $config, and $info.
sspmod_exampleauth_Auth_Source_External::authenticate | ( | & | $state | ) |
Log in using an external authentication helper.
array | &$state | Information about the current authentication. |
Definition at line 92 of file External.php.
References $attributes, SimpleSAML_Auth_Source\$authId, $returnTo, $state, $stateId, array, SimpleSAML\Module\getModuleURL(), getUser(), SimpleSAML\Utils\HTTP\redirectTrustedURL(), and SimpleSAML_Auth_State\saveState().
|
private |
Retrieve attributes for the user.
Definition at line 47 of file External.php.
References $_SESSION, $attributes, and array.
Referenced by authenticate().
sspmod_exampleauth_Auth_Source_External::logout | ( | & | $state | ) |
This function is called when the user start a logout operation, for example by logging out of a SP that supports single logout.
array | &$state | The logout state array. |
Definition at line 253 of file External.php.
References $_SESSION.
|
static |
Resume authentication process.
This function resumes the authentication process after the user has entered his or her credentials.
array | &$state | The authentication state. |
Definition at line 177 of file External.php.
References $attributes, $source, $state, SimpleSAML_Auth_Source\completeAuth(), SimpleSAML_Auth_Source\getById(), and SimpleSAML_Auth_State\loadState().