Documentation
    Preparing search index...

    Generic OAuth Provider bridge. Expects an asynchronous callback that returns an active Access Token. It is up to the developer to provide a callback that handles token refreshing (e.g. using oidc-client-ts or a custom fetch).

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • tokenFetcher: () => Promise<string>

      Returns OAuthProvider

    Methods

    • Generates the structured auth headers by invoking the dynamic OAuth fetcher callback.

      Returns Promise<Record<string, string>>

      A promise resolving to the headers record.