Skip to content

class Athena::Security::Authenticator::Passport::SelfValidating
inherits Athena::Security::Authenticator::Passport #

A passport without credentials to check, e.g. because its authenticator already verified an API token.

Constructors#

.new(user_badge : ASEC::Authenticator::Passport::Badge::User, badges : Enumerable(ASEC::Authenticator::Passport::Badge::Interface) = [] of ASEC::Authenticator::Passport::Badge::Interface)#

Creates a passport for the user of the provided user_badge, with the provided additional badges.

View source