class PersistentTokenBasedRememberMeServices extends AbstractRememberMeServices
Concrete implementation of the RememberMeServicesInterface which needs an implementation of TokenProviderInterface for providing remember-me capabilities.
COOKIE_DELIMITER |
__construct(array $userProviders, string $secret, string $providerKey, array $options = array(), LoggerInterface $logger = null, SecureRandomInterface $secureRandom = null) Constructor. | ||
string | getRememberMeParameter() Returns the parameter that is used for checking whether remember-me services have been requested. | from AbstractRememberMeServices |
getKey() | from AbstractRememberMeServices | |
string | getSecret() | from AbstractRememberMeServices |
TokenInterface|null | autoLogin(Request $request) Implementation of RememberMeServicesInterface. | from AbstractRememberMeServices |
logout(Request $request, Response $response, TokenInterface $token) Implementation for LogoutHandlerInterface. | from AbstractRememberMeServices | |
loginFail(Request $request) Implementation for RememberMeServicesInterface. | from AbstractRememberMeServices | |
loginSuccess(Request $request, Response $response, TokenInterface $token) Implementation for RememberMeServicesInterface. | from AbstractRememberMeServices | |
setTokenProvider(TokenProviderInterface $tokenProvider) Sets the token provider. |
Constructor.
Note: The $secureRandom parameter is deprecated since version 2.8 and will be removed in 3.0.
Returns the parameter that is used for checking whether remember-me services have been requested.
Implementation of RememberMeServicesInterface.
Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing.
Implementation for LogoutHandlerInterface.
Deletes the cookie.
Implementation for RememberMeServicesInterface.
Deletes the cookie when an attempted authentication fails.
Implementation for RememberMeServicesInterface.
This is called when an authentication is successful.
Sets the token provider.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Security/Http/RememberMe/PersistentTokenBasedRememberMeServices.html