Skip to main content
Module

x/fido2/lib/mds.js

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Go to Latest
import * as fido2 from "https://deno.land/x/fido2@3.2.5/lib/mds.js";

Classes

A class for managing, validating, and finding metadata that describes authenticators

Holds a single MDS entry that provides the metadata for an authenticator. Contains both the TOC data (such as statusReports and url) as well as all the metadata statment data. All the metadata has been converted from the integers found in the FIDORegistry and FIDO UAF Registry have been converted to more friendly values. The following values are converted:

  • attachmentHint - converted to Array of Strings
  • attestationTypes - converted to Array of Strings
  • authenticationAlgorithm - converted to String
  • keyProtection - converted to Array of Strings
  • matcherProtection - converted to Array of Strings
  • publicKeyAlgAndEncoding - converted to String
  • tcDisplay - converted to Array of Strings
  • userVerificationDetails - converted to Array of Array of UserVerificationDesc