@digitalocean/dots - v1.0.1
    Preparing search index...

    Authenticate a request by using an API Key

    Implements

    • AuthenticationProvider
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Authenticates the application and returns a token base on the provided Uri.

      Parameters

      • request: RequestInformation

        the request to authenticate.

      • OptionaladditionalAuthenticationContext: Record<string, unknown>

        The additional authentication context to pass to the authentication library.

      Returns Promise<void>

      a Promise to await for the authentication to be completed.