A basic service for coordinating interactions with the FIDO Metadata Service. This includes BLOB download and parsing, and on-demand requesting and caching of individual metadata statements.

https://fidoalliance.org/metadata/

Hierarchy

  • BaseMetadataService

Constructors

Methods

Constructors

Methods

  • Prepare the service to handle remote MDS servers and/or cache local metadata statements.

    Options:

    Parameters

    • opts: {
          mdsServers?: string[];
          statements?: MetadataStatement[];
          verificationMode?: VerificationMode;
      } = {}
      • Optional mdsServers?: string[]

        An array of URLs to FIDO Alliance Metadata Service (version 3.0)-compatible servers. Defaults to the official FIDO MDS server

      • Optional statements?: MetadataStatement[]

        An array of local metadata statements

      • Optional verificationMode?: VerificationMode

        How MetadataService will handle unregistered AAGUIDs. Defaults to "strict" which throws errors during registration response verification when an unregistered AAGUID is encountered. Set to "permissive" to allow registration by authenticators with unregistered AAGUIDs

    Returns Promise<void>

Generated using TypeDoc