class WrappedLazyListener extendsAbstractListener

Wraps a lazy security listener.

Traits

TraceableListenerTrait

Methods

void
__invoke(RequestEvent$event)

No description

static int
getPriority()

Defines the priority of the listener.

__construct(FirewallListenerInterface$listener)

No description

bool|null
supports(Request$request)

Tells whether the authenticate() method should be called or not depending on the incoming request.

void
authenticate(RequestEvent$event)

Does whatever is required to authenticate the request, typically calling $event->setResponse() internally.

Details

finalvoid __invoke(RequestEvent$event)

Parameters

RequestEvent $event

Return Value

void

staticint getPriority()

Defines the priority of the listener.

The higher the number, the earlier a listener is executed.

Return Value

int

__construct(FirewallListenerInterface$listener)

Parameters

FirewallListenerInterface $listener

bool|null supports(Request$request)

Tells whether the authenticate() method should be called or not depending on the incoming request.

Returning null means authenticate() can be called lazily when accessing the token storage.

Parameters

Request $request

Return Value

bool|null

void authenticate(RequestEvent$event)

Does whatever is required to authenticate the request, typically calling $event->setResponse() internally.

Parameters

RequestEvent $event

Return Value

void