| Methods |
public
|
__construct()
|
#
|
public
|
onNonInteractiveAuthEvent(NonInteractiveAuthEvent $event): void
Attempts to automatically login using the auto login cookie
Attempts to automatically login using the auto login cookie
|
#
|
public
|
onLoginFormBuild(FormBuildEvent $event): void
Displays the login form, with a remember-me checkbox.
Displays the login form, with a remember-me checkbox.
|
#
|
public
|
onLoginFormSubmit(LoginFormSubmitEvent $event): void
Processes the login form by storing the user's remember-me setting
in the form state.
Processes the login form by storing the user's remember-me setting
in the form state.
|
#
|
public
|
onLoginEvent(LoginEvent $event): void
Completes the login process by issuing a auto login cookie (if
so selected by the user).
Completes the login process by issuing a auto login cookie (if
so selected by the user).
|
#
|
public
|
onLogoutEvent(LogoutEvent $event): void
|
#
|
public
|
onCredentialEvent(CredentialEvent $event): void
|
#
|
public
|
removeCookie(): void
Removes the auto login cookie from the user agent.
Removes the auto login cookie from the user agent.
|
#
|
protected
|
createCookie(string $id = null, int $expires = null): void
Creates a auto login cookie. The login cookie will be based on the
current log in user.
Creates a auto login cookie. The login cookie will be based on the
current log in user.
Parameters
| $id |
the ID of the series of auto login cookies, Cookies
belonging to the same user and computer have the same ID. If none is specified,
one will be generated
|
| $expires |
the time at which the cookie will expire. If none is specified
the time specified in SIMPLEID_REMEMBERME_EXPIRES_IN
will be
used
|
|
#
|