Class: TwoFactorAuth::AuthenticationClientData
- Inherits:
-
ClientData
- Object
- ClientData
- TwoFactorAuth::AuthenticationClientData
- Defined in:
- app/models/two_factor_auth/authentication_client_data.rb
Instance Method Summary collapse
Methods inherited from ClientData
#client_data_has_correct_keys, #decompose_attrs, #initialize, #persisted?
Constructor Details
This class inherits a constructor from TwoFactorAuth::ClientData
Instance Method Details
#typ_correct ⇒ Object
5 6 7 8 9 |
# File 'app/models/two_factor_auth/authentication_client_data.rb', line 5 def typ_correct if typ != 'navigator.id.getAssertion' errors.add :typ, "should be navigator.id.getAssertion but is #{typ}" end end |