X509AuthenticationListener

class X509AuthenticationListener extends AbstractPreAuthenticatedListener

X509 authentication listener.

Methods

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

Handles pre-authentication.

from AbstractPreAuthenticatedListener

Details

__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, string $providerKey, string $userKey = 'SSL_CLIENT_S_DN_Email', string $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

Parameters

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

final handle(GetResponseEvent $event)

Handles pre-authentication.

Parameters

GetResponseEvent $event