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'] }); Copy
// 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'] });
Optional
Static
Cache for agentic authentication tokens used by observability services.
Example