JSPM

  • Created
  • Published
  • Downloads 652201
  • Score
    100M100P100Q186448F
  • License MIT

SimpleWebAuthn for Servers

Package Exports

  • @simplewebauthn/server

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@simplewebauthn/server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@simplewebauthn/server

WebAuthn npm (scoped) node-lts (scoped)

Installation

This package is available on npm:

npm install @simplewebauthn/server

It can then be imported into a Node project as usual:

// ESModule
import SimpleWebAuthnServer from '@simplewebauthn/server';
// CommonJS
const SimpleWebAuthnServer = require('@simplewebauthn/server');

Usage

Check out the example's index.js for a practical implementation of this library.

Lower-level API documentation for the methods in this library is available here.

Supported Attestation Formats

SimpleWebAuthn supports all six WebAuthn attestation formats, including:

  • Packed
  • TPM
  • Android Key
  • Android SafetyNet
  • FIDO U2F
  • None