JSPM

  • Created
  • Published
  • Downloads 702122
  • Score
    100M100P100Q187019F
  • 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 can verify the following attestation formats:

  • fido-u2f
  • packed
    • Supported Certificates
      • X5C
      • COSE - EC2
      • COSE - RSA (code is present but needs further testing)
      • COSE - OKP (code is present but needs further testing)
  • android-safetynet
  • none