Class: WebAuthn::AttestationStatement::None
- Defined in:
- lib/webauthn/attestation_statement/none.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#attestation_certificate, #attestation_certificate_key_id, #format, #initialize
Constructor Details
This class inherits a constructor from WebAuthn::AttestationStatement::Base
Instance Method Details
#valid?(*_args) ⇒ Boolean
8 9 10 11 12 13 14 |
# File 'lib/webauthn/attestation_statement/none.rb', line 8 def valid?(*_args) if statement == {} && trustworthy? [WebAuthn::AttestationStatement::ATTESTATION_TYPE_NONE, nil] else false end end |