class Athena::Security::Firewall::AuthenticatorManagerListener
inherits Reference
#
Authenticates the requests of a firewall via its ASEC::Authentication::AuthenticatorManager.
Included modules
Athena::Security::Firewall::ListenerInterface
Constructors#
Methods#
#authenticate(event : AHK::Events::Request) : Nil#
Handles the request of the provided event, e.g. by authenticating its user.
Set a response on the event to send it, which prevents later listeners of the firewall from being called.
#supports?(request : AHTTP::Request) : Bool | Nil#
Returns true if #authenticate should be called for the provided request, otherwise false.
Returning nil also means that it should be called, but that it does not need to be before the token of the user is accessed.