class GuardAuthenticationListener implements ListenerInterface
Authentication listener for the "guard" system.
__construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, iterable|AuthenticatorInterface[] $guardAuthenticators, LoggerInterface $logger = null) | ||
handle(GetResponseEvent $event) Iterates over each authenticator to see if each wants to authenticate the request. | ||
setRememberMeServices(RememberMeServicesInterface $rememberMeServices) Should be called if this listener will support remember me. |
GuardAuthenticatorHandler | $guardHandler | The Guard handler |
AuthenticationManagerInterface | $authenticationManager | An AuthenticationManagerInterface instance |
string | $providerKey | The provider (i.e. firewall) key |
iterable|AuthenticatorInterface[] | $guardAuthenticators | The authenticators, with keys that match what's passed to GuardAuthenticationProvider |
LoggerInterface | $logger | A LoggerInterface instance |
Iterates over each authenticator to see if each wants to authenticate the request.
GetResponseEvent | $event |
Should be called if this listener will support remember me.
RememberMeServicesInterface | $rememberMeServices |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.html