@veraid/authority-credentials
    Preparing search index...

    Class ExchangerAbstract

    Base class for exchanging credentials for a VeraId credential.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Generate the Authorization request header for the VeraId Authority credential endpoint.

      Parameters

      • vauthCredentialUrl: URL

        The VeraId Authority endpoint to obtain the credential.

      • timeoutMs: number

        The timeout (in milliseconds) to obtain the original credential.

      Returns Promise<string>

      The authorization header.