Skip to content

class Athena::Security::Events::AuthenticationSuccess
inherits Athena::Contracts::EventDispatcher::Event #

Emitted once a user was authenticated, before its token is set on the token storage.

Listeners may still reject the authentication by raising an ASEC::Exception::Authentication, e.g. ASEC::Listeners::UserChecker.

Constructors#

Methods#

#authentication_token : ASEC::Authentication::Token::Interface#

Returns the token of the authenticated user.

View source