Exception: SecondFactor::AuthManager::SecondFactorRequired

Inherits:
StandardError
  • Object
show all
Defined in:
lib/second_factor/auth_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nonce:) ⇒ SecondFactorRequired

Returns a new instance of SecondFactorRequired.



116
117
118
# File 'lib/second_factor/auth_manager.rb', line 116

def initialize(nonce:)
  @nonce = nonce
end

Instance Attribute Details

#nonceObject (readonly)

Returns the value of attribute nonce.



114
115
116
# File 'lib/second_factor/auth_manager.rb', line 114

def nonce
  @nonce
end