@microsoft/opentelemetry
    Preparing search index...

    Class AgenticTokenCache

    Cache for agentic authentication tokens used by observability services.

    // Use the default singleton:
    import { AgenticTokenCacheInstance } from '@microsoft/opentelemetry';

    // Or create an instance with custom scopes:
    const cache = new AgenticTokenCache({ authScopes: ['api://my-scope/.default'] });
    Index

    Constructors

    Methods

    • Parameters

      • agentId: string
      • tenantId: string

      Returns string | null