Exception: SecondFactor::AuthManager::SecondFactorRequired
- Inherits:
-
StandardError
- Object
- StandardError
- SecondFactor::AuthManager::SecondFactorRequired
- Defined in:
- lib/second_factor/auth_manager.rb
Instance Attribute Summary collapse
-
#nonce ⇒ Object
readonly
Returns the value of attribute nonce.
Instance Method Summary collapse
-
#initialize(nonce:) ⇒ SecondFactorRequired
constructor
A new instance of SecondFactorRequired.
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
#nonce ⇒ Object (readonly)
Returns the value of attribute nonce.
114 115 116 |
# File 'lib/second_factor/auth_manager.rb', line 114 def nonce @nonce end |