Module: Authenticate::Model::DbPassword::ClassMethods
- Defined in:
- lib/authenticate/model/db_password.rb
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.
63 64 65 |
# File 'lib/authenticate/model/db_password.rb', line 63 def crypto_provider Authenticate.configuration.crypto_provider || Authenticate::Crypto::BCrypt end |
#password_length ⇒ Object
67 68 69 |
# File 'lib/authenticate/model/db_password.rb', line 67 def password_length Authenticate.configuration.password_length end |