Méthode |
Description |
|
__construct ( string $serverName, string | array $roles ) |
Base constructor. |
|
getLoginObject ( ConfigObject $config ) : Login |
This method is triggered on the login submit page where user credentials are submitted. |
|
invalidLoginProvidedCallback ( ) |
This callback is triggered after we validate the given login data from getLoginObject, and the data IS NOT valid. |
|
loginSuccessfulCallback ( AbstractUser $user ) |
This callback is triggered after we have validated user credentials and have created a user auth token. |
|
logoutCallback ( ) |
Logout callback is called when user auth token was deleted. |
|
setExitTrigger ( string $trigger ) |
Set the function which will trigger the end of process. |
|
userAuthorizedByTokenCallback ( AbstractUser $user, Token $token ) : mixed |
This callback is triggered when the system has managed to retrieve the user from the stored token (either session)
or cookie. |
|