class AnonymousAuthenticationListener implements ListenerInterface
AnonymousAuthenticationListener automatically adds a Token if none is already present.
| __construct(TokenStorageInterface $tokenStorage, string $secret, LoggerInterface $logger = null, AuthenticationManagerInterface $authenticationManager = null) | ||
| handle(GetResponseEvent $event) Handles anonymous authentication. |
| TokenStorageInterface | $tokenStorage | |
| string | $secret | |
| LoggerInterface | $logger | |
| AuthenticationManagerInterface | $authenticationManager |
Handles anonymous authentication.
| GetResponseEvent | $event |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Firewall/AnonymousAuthenticationListener.html