class GuardAuthenticationListener implements ListenerInterface

Authentication listener for the "guard" system.

Methods

__construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, iterable|AuthenticatorInterface[] $guardAuthenticators, LoggerInterface $logger = null)

No description

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.

Details

at line 49
__construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, iterable|AuthenticatorInterface[] $guardAuthenticators, LoggerInterface $logger = null)

Parameters

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

at line 65
handle(GetResponseEvent $event)

Iterates over each authenticator to see if each wants to authenticate the request.

Parameters

GetResponseEvent $event

at line 175
setRememberMeServices(RememberMeServicesInterface $rememberMeServices)

Should be called if this listener will support remember me.

Parameters

RememberMeServicesInterface $rememberMeServices