Skip to content

class Athena::Security::Authentication::TrustResolver
inherits Reference #

Resolves how much a token can be trusted based on its user.

Included modules

Athena::Security::Authentication::TrustResolverInterface

Methods#

#authenticated?(token : ASEC::Authentication::Token::Interface | Nil) : Bool#

Returns true if the provided token represents an authenticated user, otherwise false.

View source

#full_fledged?(token : ASEC::Authentication::Token::Interface | Nil) : Bool#

Returns true if the provided token represents a fully authenticated user, i.e. one that proved its credentials during the current session, otherwise false.

Todo

Every authenticated user is fully authenticated, until "remember me" is supported.

View source