class AbstractRememberMeServices implements RememberMeServicesInterface, LogoutHandlerInterface
Base class implementing the RememberMeServicesInterface.
| COOKIE_DELIMITER |
| __construct(array $userProviders, string $secret, string $providerKey, array $options = array(), LoggerInterface $logger = null) | ||
| string | getRememberMeParameter() Returns the parameter that is used for checking whether remember-me services have been requested. | |
| string | getSecret() | |
| 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. | |
| logout(Request $request, Response $response, TokenInterface $token) Implementation for LogoutHandlerInterface. Deletes the cookie. | ||
| loginFail(Request $request, Exception $exception = null) Implementation for RememberMeServicesInterface. Deletes the cookie when an attempted authentication fails. | ||
| loginSuccess(Request $request, Response $response, TokenInterface $token) Implementation for RememberMeServicesInterface. This is called when an authentication is successful. |
| array | $userProviders | |
| string | $secret | |
| string | $providerKey | |
| array | $options | |
| LoggerInterface | $logger |
| InvalidArgumentException |
Returns the parameter that is used for checking whether remember-me services have been requested.
| string |
| string |
Implementation of RememberMeServicesInterface. Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing.
| Request | $request |
| TokenInterface |
| CookieTheftException | |
| RuntimeException |
Implementation for LogoutHandlerInterface. Deletes the cookie.
| Request | $request | |
| Response | $response | |
| TokenInterface | $token |
Implementation for RememberMeServicesInterface. Deletes the cookie when an attempted authentication fails.
| Request | $request | |
| Exception | $exception |
Implementation for RememberMeServicesInterface. This is called when an authentication is successful.
| Request | $request | |
| Response | $response | |
| TokenInterface | $token |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.html