A slightly-modified AuthenticationCredential 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-authenticationresponsejson
SimpleWebAuthn for Browsers
A slightly-modified AuthenticationCredential 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-authenticationresponsejson
Add Package
deno add jsr:@simplewebauthn/browser
Import symbol
import { type AuthenticationResponseJSON } from "@simplewebauthn/browser";
Import directly with a jsr specifier
import { type AuthenticationResponseJSON } from "jsr:@simplewebauthn/browser";
Add Package
pnpm i jsr:@simplewebauthn/browser
pnpm dlx jsr add @simplewebauthn/browser
Import symbol
import { type AuthenticationResponseJSON } from "@simplewebauthn/browser";
Add Package
yarn add jsr:@simplewebauthn/browser
yarn dlx jsr add @simplewebauthn/browser
Import symbol
import { type AuthenticationResponseJSON } from "@simplewebauthn/browser";
Add Package
vlt install jsr:@simplewebauthn/browser
Import symbol
import { type AuthenticationResponseJSON } from "@simplewebauthn/browser";
Add Package
npx jsr add @simplewebauthn/browser
Import symbol
import { type AuthenticationResponseJSON } from "@simplewebauthn/browser";