Skip to content

class Athena::Security::Authenticator::Passport::Credentials::Password
inherits Reference #

Credentials made of the password presented by the user, which ASEC::Listeners::CheckCredentials verifies against the hashed password of the user.

The user must include APH::PasswordAuthenticatedUserInterface.

Included modules

Athena::Security::Authenticator::Passport::Credentials::Interface

Constructors#

.new(password : String)#

View source

Methods#

#password : String#

Returns the password presented by the user.

Raises an ASEC::Exception::Logic if the password was already verified, which erases it.

View source

#resolved? : Bool#

Returns true if this badge was checked by the security system, otherwise false.

Every badge of a passport must be resolved once it was checked, otherwise the authentication fails.

View source