Documentation
    Preparing search index...

    Basic Authentication HTTP provider that sets Authorization: Basic <base64> headers using either a raw string or username/password combinations.

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • username: string
      • Optionalpassword: string

      Returns BasicAuthProvider

    Methods

    • Generates the structured auth headers for fetch.

      Returns Promise<Record<string, string>>

      A promise resolving to the headers record.