BasicAuthenticationListener
class BasicAuthenticationListener implements ListenerInterface
BasicAuthenticationListener implements Basic HTTP authentication.
Methods
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)
No description
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)
Call this method if your authentication token is stored to a session.
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)
Call this method if your authentication token is stored to a session.