Module: TwoFactorAuthentication::Schema
- Included in:
- Orm::ActiveRecord::Schema
- Defined in:
- lib/two_factor_authentication/schema.rb
Instance Method Summary collapse
- #encrypted_otp_secret_key ⇒ Object
- #encrypted_otp_secret_key_iv ⇒ Object
- #encrypted_otp_secret_key_salt ⇒ Object
- #second_factor_attempts_count ⇒ Object
Instance Method Details
#encrypted_otp_secret_key ⇒ Object
7 8 9 |
# File 'lib/two_factor_authentication/schema.rb', line 7 def encrypted_otp_secret_key apply_devise_schema :encrypted_otp_secret_key, String end |
#encrypted_otp_secret_key_iv ⇒ Object
11 12 13 |
# File 'lib/two_factor_authentication/schema.rb', line 11 def encrypted_otp_secret_key_iv apply_devise_schema :encrypted_otp_secret_key_iv, String end |
#encrypted_otp_secret_key_salt ⇒ Object
15 16 17 |
# File 'lib/two_factor_authentication/schema.rb', line 15 def encrypted_otp_secret_key_salt apply_devise_schema :encrypted_otp_secret_key_salt, String end |
#second_factor_attempts_count ⇒ Object
3 4 5 |
# File 'lib/two_factor_authentication/schema.rb', line 3 def second_factor_attempts_count apply_devise_schema :second_factor_attempts_count, Integer, :default => 0 end |