module Athena::Security::Firewall::ListenerInterface
#
A listener of a firewall, which authenticates the requests it supports or checks their access, see ASEC::Firewall.
Direct including types
Athena::Security::Firewall::AccessListener
Athena::Security::Firewall::AuthenticatorManagerListener
Methods#
abstract #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.
#priority : Int32#
Returns the priority of this listener, listeners with a higher priority are called first.
abstract #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.