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