A slightly-modified RegistrationCredential 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-registrationresponsejson
A slightly-modified RegistrationCredential 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-registrationresponsejson
Add Package
deno add jsr:@simplewebauthn/types
Import symbol
import { type RegistrationResponseJSON } from "@simplewebauthn/types";
---- OR ----
Import directly with a jsr specifier
import { type RegistrationResponseJSON } from "jsr:@simplewebauthn/types";
Add Package
npx jsr add @simplewebauthn/types
Import symbol
import { type RegistrationResponseJSON } from "@simplewebauthn/types";
Add Package
yarn dlx jsr add @simplewebauthn/types
Import symbol
import { type RegistrationResponseJSON } from "@simplewebauthn/types";
Add Package
pnpm dlx jsr add @simplewebauthn/types
Import symbol
import { type RegistrationResponseJSON } from "@simplewebauthn/types";
Add Package
bunx jsr add @simplewebauthn/types
Import symbol
import { type RegistrationResponseJSON } from "@simplewebauthn/types";