AsyncAuthTokenResolver Delegate
Definition
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