Skip to content

class Athena::Security::User::Checker::Chain
inherits Reference #

Checks users with each of its checkers in turn.

Included modules

Athena::Security::User::Checker::Interface

Constructors#

Methods#

#check_post_auth(user : ASEC::User::Interface, token : ASEC::Authentication::Token::Interface | Nil = nil) : Nil#

Checks the account of the provided user after it was authenticated, optionally with the token representing it.

Raises an ASEC::Exception::AccountStatus if the user is rejected.

View source

#check_pre_auth(user : ASEC::User::Interface) : Nil#

Checks the account of the provided user before its credentials are checked.

Raises an ASEC::Exception::AccountStatus if the user is rejected.

View source