Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener::__construct
Constructor.
Signature
public function __construct(SecurityContextInterface
$securityContext,
[AuthenticationManagerInterface
$authenticationManager = null,
[SessionAuthenticationStrategyInterface
$sessionStrategy = null,
[HttpUtils
$httpUtils = null,
[AuthenticationSuccessHandlerInterface
$providerKey = null,
[AuthenticationSuccessHandlerInterface
$successHandler = null,
[AuthenticationFailureHandlerInterface
$failureHandler = null,
[LoggerInterface
$options = null,
[LoggerInterface
$logger = null,
[EventDispatcherInterface
$dispatcher = null]]]]]]]]] )
Parameters
$securityContext
— Symfony\Component\Security\Core\SecurityContextInterface- A SecurityContext instance
$authenticationManager
— Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface- An AuthenticationManagerInterface instance
$sessionStrategy
— Symfony\Component\Security\Http\Session\SessionAuthenticationStrategyInterface
$httpUtils
— Symfony\Component\Security\Http\HttpUtils- An HttpUtilsInterface instance
$providerKey
— string$successHandler
— Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface
$failureHandler
— Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface
$options
— array- An array of options for the processing of a
successful, or failed authentication attempt $logger
— Psr\Log\LoggerInterface- A LoggerInterface instance
$dispatcher
— Symfony\Component\EventDispatcher\EventDispatcherInterface- An EventDispatcherInterface instance