AbstractPreAuthenticatedListener
abstract 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).
Properties
protected | $logger |
Methods
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, 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, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy)
Call this method if your authentication token is stored to a session.
abstract protected array
getPreAuthenticatedData(Request $request)
Gets the user and credentials from the Request.