Module: Authenticate::Model::DbPassword::ClassMethods
- Defined in:
- lib/authenticate/model/db_password.rb
Overview
Class methods for database password management.
Instance Method Summary collapse
-
#crypto_provider ⇒ Object
We only have one crypto provider at the moment, but look up the provider in the config.
- #password_length ⇒ Object
Instance Method Details
#crypto_provider ⇒ Object
We only have one crypto provider at the moment, but look up the provider in the config.
56 57 58 |
# File 'lib/authenticate/model/db_password.rb', line 56 def crypto_provider Authenticate.configuration.crypto_provider || Authenticate::Crypto::BCrypt end |
#password_length ⇒ Object
60 61 62 |
# File 'lib/authenticate/model/db_password.rb', line 60 def password_length Authenticate.configuration.password_length end |