SimplePreAuthenticationListener

SimplePreAuthenticationListener

class SimplePreAuthenticationListener implements ListenerInterface

SimplePreAuthenticationListener implements simple proxying to an authenticator.

Methods

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, SimplePreAuthenticatorInterface $simpleAuthenticator, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

Constructor.

handle(GetResponseEvent $event)

Handles basic authentication.

Details

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, SimplePreAuthenticatorInterface $simpleAuthenticator, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

Constructor.

Parameters

TokenStorageInterface $tokenStorage A TokenStorageInterface instance
AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
string $providerKey
SimplePreAuthenticatorInterface $simpleAuthenticator A SimplePreAuthenticatorInterface instance
LoggerInterface $logger A LoggerInterface instance
EventDispatcherInterface $dispatcher An EventDispatcherInterface instance

handle(GetResponseEvent $event)

Handles basic authentication.

Parameters

GetResponseEvent $event
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部