class X509AuthenticationListener extends AbstractPreAuthenticatedListener
X509 authentication listener.
protected | $logger | from AbstractPreAuthenticatedListener |
__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 | |
setSessionAuthenticationStrategy(SessionAuthenticationStrategyInterface $sessionStrategy) Call this method if your authentication token is stored to a session. | from AbstractPreAuthenticatedListener | |
array | getPreAuthenticatedData(Request $request) Gets the user and credentials from the Request. |
TokenStorageInterface | $tokenStorage | |
AuthenticationManagerInterface | $authenticationManager | |
string | $providerKey | |
string | $userKey | |
string | $credentialKey | |
LoggerInterface | $logger | |
EventDispatcherInterface | $dispatcher |
Handles pre-authentication.
GetResponseEvent | $event |
Call this method if your authentication token is stored to a session.
SessionAuthenticationStrategyInterface | $sessionStrategy |
Gets the user and credentials from the Request.
Request | $request |
array | An array composed of the user and the credentials |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Firewall/X509AuthenticationListener.html