RemoteUserAuthenticationListener

class RemoteUserAuthenticationListener extends AbstractPreAuthenticatedListener

REMOTE_USER authentication listener.

Methods

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'REMOTE_USER', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
handle(GetResponseEvent $event)

Handles pre-authentication.

from AbstractPreAuthenticatedListener

Details

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'REMOTE_USER', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

Parameters

TokenStorageInterface $tokenStorage
AuthenticationManagerInterface $authenticationManager
$providerKey
$userKey
LoggerInterface $logger
EventDispatcherInterface $dispatcher

final handle(GetResponseEvent $event)

Handles pre-authentication.

Parameters

GetResponseEvent $event