Http\Firewall\AbstractPreAuthenticatedListener (Component\Security)

Symfony\Component\Security\Http\Firewall\AbstractPreAuthenticatedListener

abstract class AbstractPreAuthenticatedListener implements ListenerInterface

AbstractPreAuthenticatedListener is the base class for all listener that authenticates users based on a pre-authenticated request (like a certificate for instance).

Methods

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
handle(GetResponseEvent $event)

Handles pre-authentication.

Details

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

Parameters

TokenStorageInterface $tokenStorage
AuthenticationManagerInterface $authenticationManager
$providerKey
LoggerInterface $logger
EventDispatcherInterface $dispatcher

final public handle(GetResponseEvent $event)

Handles pre-authentication.

Parameters

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

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部