Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/simplewebauthn/packages/types/src/index.ts>PublicKeyCredentialFuture

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.
Latest
interface PublicKeyCredentialFuture
import { type PublicKeyCredentialFuture } from "https://deno.land/x/simplewebauthn@v11.0.0/packages/types/src/index.ts";

A super class of TypeScript's PublicKeyCredential that knows about upcoming WebAuthn features

Methods

optional
isConditionalMediationAvailable(): Promise<boolean>
optional
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions
optional
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions
optional
toJSON(): PublicKeyCredentialJSON