@microsoft/opentelemetry
    Preparing search index...

    Interface AuthorizationLike

    Minimal authorization shape required by AgenticTokenCache.

    Mirrors the Authorization interface from @microsoft/agents-hosting so the cache can be used without a direct dependency on that package.

    interface AuthorizationLike {
        exchangeToken(
            turnContext: TurnContextLike,
            authHandlerName: string,
            options: { scopes: string[] },
        ): Promise<{ token?: string } | undefined>;
    }
    Index

    Methods

    • Parameters

      • turnContext: TurnContextLike
      • authHandlerName: string
      • options: { scopes: string[] }

      Returns Promise<{ token?: string } | undefined>