LazyFirewallContext
extends FirewallContext
in package
Lazily calls authentication listeners when actually required by the access listener.
Tags
Table of Contents
Properties
- $config : mixed
- $exceptionListener : mixed
- $listeners : iterable<string|int, mixed>
- $logoutListener : mixed
- $tokenStorage : mixed
Methods
- __construct() : mixed
- __invoke() : mixed
- getConfig() : mixed
- getExceptionListener() : mixed
- getListeners() : iterable<mixed, callable>
- getLogoutListener() : mixed
Properties
$config
private
mixed
$config
$exceptionListener
private
mixed
$exceptionListener
$listeners
private
iterable<string|int, mixed>
$listeners
$logoutListener
private
mixed
$logoutListener
$tokenStorage
private
mixed
$tokenStorage
Methods
__construct()
public
__construct(iterable<string|int, mixed> $listeners, ExceptionListener|null $exceptionListener, LogoutListener|null $logoutListener, FirewallConfig|null $config, TokenStorage $tokenStorage) : mixed
Parameters
- $listeners : iterable<string|int, mixed>
- $exceptionListener : ExceptionListener|null
- $logoutListener : LogoutListener|null
- $config : FirewallConfig|null
- $tokenStorage : TokenStorage
__invoke()
public
__invoke(RequestEvent $event) : mixed
Parameters
- $event : RequestEvent
getConfig()
public
getConfig() : mixed
getExceptionListener()
public
getExceptionListener() : mixed
getListeners()
public
getListeners() : iterable<mixed, callable>
Return values
iterable<mixed, callable>getLogoutListener()
public
getLogoutListener() : mixed