@turnkey/webauthn-stamper
v0.5.0
Published
Webauthn stamper for @turnkey/http
Downloads
129,059
Readme
@turnkey/webauthn-stamper
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
);