Skip to main content

DefaultParallelModelAuthentication.RefreshAsync method

Requests a new access token and replaces the cached token regardless of its current validity.

public Task<string> RefreshAsync(CancellationToken cancellationToken = default)
parameterdescription
cancellationTokenA token that can be used to cancel the operation.

Return Value​

A task that represents the asynchronous operation and returns the access token.

See Also​