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

PublicKeyCredentialFuture

A super class of TypeScript's PublicKeyCredential that knows about upcoming WebAuthn features. Includes WebAuthn Level 3 methods for JSON serialization and parsing.

interface PublicKeyCredentialFuture <T extends PublicKeyCredentialJSON = PublicKeyCredentialJSON> extends PublicKeyCredential {
type: PublicKeyCredentialType;
isConditionalMediationAvailable?(): Promise<boolean>;
toJSON(): T;
}

§Type Parameters

§Extends

§
PublicKeyCredential
[src]

§Properties

§
type: PublicKeyCredentialType
[src]

The type of the credential (always "public-key").

§Methods

§
isConditionalMediationAvailable?(): Promise<boolean>
[src]

Checks if conditional mediation is available.

§

Parses JSON to create PublicKeyCredentialCreationOptions.

§

Parses JSON to create PublicKeyCredentialRequestOptions.

§
toJSON(): T
[src]

Serializes the credential to JSON format.