RememberMeListener

class RememberMeListener implements ListenerInterface

RememberMeListener implements authentication capabilities via a cookie.

Methods

__construct(TokenStorageInterface $tokenStorage, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, bool $catchExceptions = true, SessionAuthenticationStrategyInterface $sessionStrategy = null)
handle(GetResponseEvent $event)

Handles remember-me cookie based authentication.

Details

__construct(TokenStorageInterface $tokenStorage, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, bool $catchExceptions = true, SessionAuthenticationStrategyInterface $sessionStrategy = null)

Parameters

TokenStorageInterface $tokenStorage
RememberMeServicesInterface $rememberMeServices
AuthenticationManagerInterface $authenticationManager
LoggerInterface $logger
EventDispatcherInterface $dispatcher
bool $catchExceptions
SessionAuthenticationStrategyInterface $sessionStrategy

handle(GetResponseEvent $event)

Handles remember-me cookie based authentication.

Parameters

GetResponseEvent $event

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Firewall/RememberMeListener.html