class BasicAuthenticationListener implements ListenerInterface
BasicAuthenticationListener implements Basic HTTP authentication.
| __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null) | ||
| handle(GetResponseEvent $event) Handles basic authentication. | ||
| setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy) Call this method if your authentication token is stored to a session. |
| TokenStorageInterface | $tokenStorage | |
| AuthenticationManagerInterface | $authenticationManager | |
| string | $providerKey | |
| AuthenticationEntryPointInterface | $authenticationEntryPoint | |
| LoggerInterface | $logger |
Handles basic authentication.
| GetResponseEvent | $event |
Call this method if your authentication token is stored to a session.
| SessionAuthenticationStrategyInterface | $sessionStrategy |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Firewall/BasicAuthenticationListener.html