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

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

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

A slightly-modified AuthenticatorAttestationResponse to simplify working with ArrayBuffers that are Base64URL-encoded in the browser so that they can be sent as JSON to the server.

https://w3c.github.io/webauthn/#dictdef-authenticatorattestationresponsejson

Properties

clientDataJSON: Base64URLString
attestationObject: Base64URLString
optional
authenticatorData: Base64URLString
optional
transports: AuthenticatorTransportFuture[]
optional
publicKeyAlgorithm: COSEAlgorithmIdentifier
optional
publicKey: Base64URLString