BasicAuthenticationListener
class BasicAuthenticationListener implements ListenerInterface
BasicAuthenticationListener implements Basic HTTP authentication.
Methods
| __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null) | ||
| handle(GetResponseEvent $event) Handles basic authentication. |
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)
Parameters
| TokenStorageInterface | $tokenStorage | |
| AuthenticationManagerInterface | $authenticationManager | |
| $providerKey | ||
| AuthenticationEntryPointInterface | $authenticationEntryPoint | |
| LoggerInterface | $logger |
handle(GetResponseEvent $event)
Handles basic authentication.
Parameters
| GetResponseEvent | $event |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Security/Http/Firewall/BasicAuthenticationListener.html