RememberMeListener

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)

Constructor.

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)

Constructor.

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/3.3/Symfony/Component/Security/Http/Firewall/RememberMeListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部