0.5.0 • Published 8 months ago

@turnkey/webauthn-stamper v0.5.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

@turnkey/webauthn-stamper

npm

This package contains functions to stamp a Turnkey request. It is meant to be used with @turnkey/http

Usage:

import { WebauthnStamper } from "@turnkey/webauthn-stamper";
import { TurnkeyClient } from "@turnkey/http";

const stamper = new WebAuthnStamper({
  rpId: "example.com",
});

// New HTTP client able to sign with passkeys!
const httpClient = new TurnkeyClient(
  { baseUrl: "https://api.turnkey.com" },
  stamper
);