Fourt SDK
Signers
Web Signer

FourtWebSigner

Definition

This is an implementation of the abstract Signer class that utilizes our secure signer service to provision private keys for end users. This allows you to authenticate your users through familiar methods without requiring them to directly manage the private key storage and provisioning implementation details. The FourtWebSigner abstracts away the complexities of private key management, providing a user-friendly authentication experience for your application's end users.

Import

import { FourtWebSigner } from "@fourt/sdk";

Usage

const fourtWebSigner = new FourtWebSigner({
  auth: {
    webauthn: {
      rpId: "localhost",
    },
  },
  configuration: {
    apiKey: "<YOUR_API_KEY>",
  },
});