AbstractPreAuthenticatedListener
class AbstractPreAuthenticatedListener implements ListenerInterface
AbstractPreAuthenticatedListener is the base class for all listener that authenticates users based on a pre-authenticated request (like a certificate for instance).
Methods
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null) | ||
handle(GetResponseEvent $event) Handles pre-authentication. |
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
Parameters
TokenStorageInterface | $tokenStorage | |
AuthenticationManagerInterface | $authenticationManager | |
string | $providerKey | |
LoggerInterface | $logger | |
EventDispatcherInterface | $dispatcher |
final handle(GetResponseEvent $event)
Handles pre-authentication.
Parameters
GetResponseEvent | $event |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.html