Skip to content

module Athena::Security::Authentication::TrustResolverInterface #

Resolves how much a token can be trusted, i.e. how its user authenticated.

Direct including types

Athena::Security::Authentication::TrustResolver

Methods#

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

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

View source

abstract #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.

View source