Share via


CommunicationTokenRefreshOptions.AsyncTokenRefresher Property

Definition

The asynchronous callback function that acquires a fresh token from the Communication Identity API, e.g. by calling the CommunicationIdentityClient. The returned token must be valid (its expiration date must be set in the future).

public Func<System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<string>> AsyncTokenRefresher { get; set; }
member this.AsyncTokenRefresher : Func<System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<string>> with get, set
Public Property AsyncTokenRefresher As Func(Of CancellationToken, ValueTask(Of String))

Property Value

Applies to