FirewallListenerInterface
interface FirewallListenerInterface
Can be implemented by firewall listeners.
Methods
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.
static int
getPriority()
Defines the priority of the listener.
Details
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.