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)
| parameter | description |
|---|---|
| cancellationToken | A 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
- class DefaultParallelModelAuthentication
- namespace ParallelModel.Sdk.Authentication