Http\Firewall\DigestAuthenticationListener (Component\Security)

Symfony\Component\Security\Http\Firewall\DigestAuthenticationListener

class DigestAuthenticationListener implements ListenerInterface

DigestAuthenticationListener implements Digest HTTP authentication.

Methods

__construct(TokenStorageInterface $tokenStorage, UserProviderInterface $provider, $providerKey, DigestAuthenticationEntryPoint $authenticationEntryPoint, LoggerInterface $logger = null)
handle(GetResponseEvent $event)

Handles digest authentication.

Details

public __construct(TokenStorageInterface $tokenStorage, UserProviderInterface $provider, $providerKey, DigestAuthenticationEntryPoint $authenticationEntryPoint, LoggerInterface $logger = null)

Parameters

TokenStorageInterface $tokenStorage
UserProviderInterface $provider
$providerKey
DigestAuthenticationEntryPoint $authenticationEntryPoint
LoggerInterface $logger

public handle(GetResponseEvent $event)

Handles digest authentication.

Parameters

GetResponseEvent $event A GetResponseEvent instance

Exceptions

AuthenticationServiceException
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部