class WebAuthn::AttestationStatement::None

Public Instance Methods

valid?(*_args) click to toggle source
# 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

Private Instance Methods

attestation_type() click to toggle source
# File lib/webauthn/attestation_statement/none.rb, line 18
def attestation_type
  WebAuthn::AttestationStatement::ATTESTATION_TYPE_NONE
end