Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PublicKeyCredentialRequestOptionsJSON

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

interface PublicKeyCredentialRequestOptionsJSON {
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
challenge: Base64URLString;
extensions?: AuthenticationExtensionsClientInputs;
rpId?: string;
timeout?: number;
userVerification?: UserVerificationRequirement;
}

§Properties

§

A list of credentials acceptable for authentication.

§

A server-generated challenge in base64url format.

§
extensions?: AuthenticationExtensionsClientInputs
[src]

Additional parameters requesting additional processing by the client and authenticator.

§

Hints about what types of authenticators the user might want to use.

§
rpId?: string
[src]

The relying party identifier claimed by the caller.

§
timeout?: number
[src]

Time in milliseconds that the caller is willing to wait for the operation to complete.

§
userVerification?: UserVerificationRequirement
[src]

Whether user verification should be performed by the authenticator.