Skip to content

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#

Methods#

#authenticated_token : ASEC::Authentication::Token::Interface#

The token of the authenticated user.

View source

#authenticated_token=(authenticated_token : ASEC::Authentication::Token::Interface)#

The token of the authenticated user.

View source

#passport : ASEC::Authenticator::Passport#

Returns the passport the user was authenticated with.

View source