A variant of PublicKeyCredentialCreationOptions suitable for JSON transmission to the browser to (eventually) get passed into navigator.credentials.create(...) in the browser.

This should eventually get replaced with official TypeScript DOM types when WebAuthn L3 types eventually make it into the language:

https://w3c.github.io/webauthn/#dictdef-publickeycredentialcreationoptionsjson

Hierarchy

  • PublicKeyCredentialCreationOptionsJSON

Properties

authenticatorSelection?: AuthenticatorSelectionCriteria
challenge: string
excludeCredentials?: PublicKeyCredentialDescriptorJSON[]
pubKeyCredParams: PublicKeyCredentialParameters[]
timeout?: number

Generated using TypeDoc