Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AsyncAuthTokenResolver Delegate

Definition

Namespace:
Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters
Assembly:
Microsoft.Agents.A365.Observability.Runtime.dll
Package:
Microsoft.Agents.A365.Observability.Runtime v1.0.0
Source:
Agent365ExporterOptions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Async delegate used by the exporter to obtain an auth token for a specific agent + tenant. Must be fast and non-blocking (use internal caching elsewhere). Return null/empty to omit the Authorization header.

public delegate System.Threading.Tasks.Task<string?> AsyncAuthTokenResolver(string agentId, string tenantId);
type AsyncAuthTokenResolver = delegate of string * string -> Task<string>
Public Delegate Function AsyncAuthTokenResolver(agentId As String, tenantId As String) As Task(Of String) 

Parameters

agentId
String
tenantId
String

Return Value

Applies to


Feedback

Was this page helpful?