Sha256: fe11c58003e8d8c83830f3f1a7011d338e207229708775c12284a8c72c0016e9

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

class EncryptedUser
  extend ActiveModel::Callbacks
  include ActiveModel::Validations
  include Devise::Models::DeviseXfactorAuthenticatable

  define_model_callbacks :create
  attr_accessor :encrypted_otp_secret_key,
                :encrypted_otp_secret_key_iv,
                :encrypted_otp_secret_key_salt,
                :email,
                :second_factor_attempts_count,
                :totp_timestamp

  has_one_time_password(encrypted: true)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise_xfactor_authentication-2.2.23 spec/rails_app/app/models/encrypted_user.rb
devise_xfactor_authentication-2.2.22 spec/rails_app/app/models/encrypted_user.rb
devise_xfactor_authentication-2.2.21 spec/rails_app/app/models/encrypted_user.rb
devise_xfactor_authentication-2.2.20 spec/rails_app/app/models/encrypted_user.rb
devise_xfactor_authentication-2.2.19 spec/rails_app/app/models/encrypted_user.rb
devise_xfactor_authentication-2.2.18 spec/rails_app/app/models/encrypted_user.rb