Sha256: 3be310e565d86c539ae1686cf1245df9caa349863687063a5ce9e49ef056a519

Contents?: true

Size: 527 Bytes

Versions: 10

Compression:

Stored size: 527 Bytes

Contents

module DeviseMultiFactor
  module Schema
    def second_factor_attempts_count
      apply_devise_schema :second_factor_attempts_count, Integer, :default => 0
    end

    def encrypted_otp_secret_key
      apply_devise_schema :encrypted_otp_secret_key, String
    end

    def direct_otp
      apply_devise_schema :direct_otp, String
    end

    def direct_otp_sent_at
      apply_devise_schema :direct_otp_sent_at, DateTime
    end

    def totp_timestamp
      apply_devise_schema :totp_timestamp, Integer
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise-multi-factor-3.2.5 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.2.4 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.2.3 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.2.2 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.2.1 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.2.0 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.1.8 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.1.7 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.1.6 lib/devise_multi_factor/schema.rb
devise-multi-factor-3.1.5 lib/devise_multi_factor/schema.rb