class Athena::Security::Events::AuthenticationTokenCreated
inherits Athena::Contracts::EventDispatcher::Event
#
Emitted once the token of a newly authenticated user was created, before it is set on the token storage.
Listeners may replace the token.
Constructors#
.new(authenticated_token : ASEC::Authentication::Token::Interface, passport : ASEC::Authenticator::Passport)#
Methods#
#authenticated_token : ASEC::Authentication::Token::Interface#
The token of the authenticated user.
#authenticated_token=(authenticated_token : ASEC::Authentication::Token::Interface)#
The token of the authenticated user.
#passport : ASEC::Authenticator::Passport#
Returns the passport the user was authenticated with.