Method |
Description |
|
__construct ( string $authSource ) |
Create an instance with the specified authsource. |
|
getAttributes ( ) : array |
Retrieve attributes of the current user. |
|
getAuthData ( string $name ) : mixed | null |
Retrieve authentication data. |
|
getAuthDataArray ( ) : array | null |
Retrieve all authentication data. |
|
getAuthSource ( ) : SimpleSAML_Auth_Source |
Retrieve the implementing authentication source. |
|
getLoginURL ( string | null $returnTo = null ) : string |
Retrieve a URL that can be used to log the user in. |
|
getLogoutURL ( string | null $returnTo = null ) : string |
Retrieve a URL that can be used to log the user out. |
|
isAuthenticated ( ) : boolean |
Check if the user is authenticated. |
|
login ( array $params = [] ) |
Start an authentication process. |
|
logout ( string | array | null $params = null ) |
Log the user out. |
|
logoutCompleted ( array $state ) |
Called when logout operation completes. |
|
requireAuth ( array $params = [] ) |
Require the user to be authenticated. |
|