class Athena::Security::Events::CheckPassport
inherits Athena::Contracts::EventDispatcher::Event
#
Emitted while authenticating a user, to check the ASEC::Authenticator::Passport its authenticator created, e.g. by verifying its password.
Listeners check the badges of the passport they handle, resolving them.
They reject the authentication by raising an ASEC::Exception::Authentication.
Constructors#
.new(authenticator : ASEC::Authenticator::Interface, passport : ASEC::Authenticator::Passport)#
Methods#
#authenticator : ASEC::Authenticator::Interface#
Returns the authenticator that created the passport.