RemoteUserAuthenticationListener
class RemoteUserAuthenticationListener extends AbstractPreAuthenticatedListener
REMOTE_USER authentication listener.
Properties
protected | $logger | from AbstractPreAuthenticatedListener |
Methods
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, string $userKey = 'REMOTE_USER', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
No description
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)
Call this method if your authentication token is stored to a session.
array
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, string $userKey = 'REMOTE_USER', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)
Call this method if your authentication token is stored to a session.
protected array
getPreAuthenticatedData(Request $request)
Gets the user and credentials from the Request.