MonoCloud Authentication SDK
    Preparing search index...
    TokenResolver: (req: T) => Promise<string | undefined>

    Callback that resolves an access token from the incoming request.

    When provided, this takes precedence over the default Authorization: Bearer header extraction.

    Type Parameters

    • T

      Type of the request

    Type Declaration

      • (req: T): Promise<string | undefined>
      • Parameters

        • req: T

        Returns Promise<string | undefined>