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

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

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

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

Properties

challenge: Base64URLString
optional
timeout: number
optional
rpId: string
optional
allowCredentials: PublicKeyCredentialDescriptorJSON[]
optional
userVerification: UserVerificationRequirement