Skip to content

abstract class Athena::Security::Exception::AccountStatus
inherits Athena::Security::Exception::Authentication #

The base type of authentication exceptions caused by the status of a user's account, e.g. it being disabled.

Typically raised by an ASEC::User::Checker::Interface.

Direct known subclasses

Athena::Security::Exception::CustomUserMessageAccountStatus Athena::Security::Exception::Disabled

Constructors#

.new(message : String | Nil = nil, cause : ::Exception | Nil = nil, *, user : ASEC::User::Interface | Nil = nil)#

View source

Methods#

#user : ASEC::User::Interface | ::Nil#

The user whose account was rejected, if any.

View source

#user=(user : ASEC::User::Interface | Nil)#

The user whose account was rejected, if any.

View source