PublicKeyCredentialCreationOptionsJSON
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 Level 3 types eventually make it into the language:
§Properties
How the attestation statement should be transported.
The attestation statement formats that the Relying Party will accept.
A server-generated challenge in base64url format.
Credentials that the authenticator should not create a new credential for.
Additional parameters requesting additional processing by the client and authenticator.
Hints about what types of authenticators the user might want to use.
Information about desired properties of the credential to be created.
Information about the Relying Party responsible for the request.
Time in milliseconds that the caller is willing to wait for the operation to complete.
Information about the user account for which the credential is being created.