Skip to content

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

Rejects disabled ASEC::User::InMemory users, ignoring any other user.

Included modules

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

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