class DigestAuthenticationListener implements ListenerInterface

deprecated since 3.4, to be removed in 4.0

DigestAuthenticationListener implements Digest HTTP authentication.

Methods

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

No description

handle(GetResponseEvent $event)

Handles digest authentication.

setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)

Call this method if your authentication token is stored to a session.

Details

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

Parameters

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

at line 65
handle(GetResponseEvent $event)

Handles digest authentication.

Parameters

GetResponseEvent $event

Exceptions

AuthenticationServiceException

at line 138
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)

Call this method if your authentication token is stored to a session.

Parameters

SessionAuthenticationStrategyInterface $sessionStrategy