CommunicationTokenRefreshOptions.AsyncTokenRefresher Property
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET