module Authenticate::Model::DbPassword::ClassMethods

Class methods for database password management.

Public Instance Methods

crypto_provider() click to toggle source

We only have one crypto provider at the moment, but look up the provider in the config.

# File lib/authenticate/model/db_password.rb, line 56
def crypto_provider
  Authenticate.configuration.crypto_provider || Authenticate::Crypto::BCrypt
end
password_length() click to toggle source
# File lib/authenticate/model/db_password.rb, line 60
def password_length
  Authenticate.configuration.password_length
end