Module: DeviseMultiFactor::Schema
- Included in:
- Orm::ActiveRecord::Schema
- Defined in:
- lib/devise_multi_factor/schema.rb
Instance Method Summary collapse
- #direct_otp ⇒ Object
- #direct_otp_sent_at ⇒ Object
- #encrypted_otp_secret_key ⇒ Object
- #second_factor_attempts_count ⇒ Object
- #totp_timestamp ⇒ Object
Instance Method Details
#direct_otp ⇒ Object
11 12 13 |
# File 'lib/devise_multi_factor/schema.rb', line 11 def direct_otp apply_devise_schema :direct_otp, String end |
#direct_otp_sent_at ⇒ Object
15 16 17 |
# File 'lib/devise_multi_factor/schema.rb', line 15 def direct_otp_sent_at apply_devise_schema :direct_otp_sent_at, DateTime end |
#encrypted_otp_secret_key ⇒ Object
7 8 9 |
# File 'lib/devise_multi_factor/schema.rb', line 7 def encrypted_otp_secret_key apply_devise_schema :encrypted_otp_secret_key, String end |
#second_factor_attempts_count ⇒ Object
3 4 5 |
# File 'lib/devise_multi_factor/schema.rb', line 3 def second_factor_attempts_count apply_devise_schema :second_factor_attempts_count, Integer, :default => 0 end |
#totp_timestamp ⇒ Object
19 20 21 |
# File 'lib/devise_multi_factor/schema.rb', line 19 def apply_devise_schema :totp_timestamp, Integer end |