AbstractRememberMeServices
class AbstractRememberMeServices implements RememberMeServicesInterface, LogoutHandlerInterface
Base class implementing the RememberMeServicesInterface.
Constants
COOKIE_DELIMITER |
|
Methods
Constructor.
Returns the parameter that is used for checking whether remember-me services have been requested.
No description
Implementation for LogoutHandlerInterface. Deletes the cookie.
Implementation for RememberMeServicesInterface. This is called when an authentication is successful.
Details
at line line 57
__construct(array $userProviders, string $secret, string $providerKey, array $options = array(), LoggerInterface $logger = null)
Constructor.
at line line 82
string
getRememberMeParameter()
Returns the parameter that is used for checking whether remember-me services have been requested.
at line line 90
string
getSecret()
at line line 106
final TokenInterface
autoLogin(Request $request)
Implementation of RememberMeServicesInterface. Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing.
at line line 158
logout(Request $request, Response $response, TokenInterface $token)
Implementation for LogoutHandlerInterface. Deletes the cookie.
at line line 169
final
loginFail(Request $request)
Implementation for RememberMeServicesInterface. Deletes the cookie when an attempted authentication fails.
at line line 183
final
loginSuccess(Request $request, Response $response, TokenInterface $token)
Implementation for RememberMeServicesInterface. This is called when an authentication is successful.