DefaultParallelModelAuthentication.AuthenticateAsync method
Authenticates with the API by requesting a new access token, replacing any cached token.
public Task<string> AuthenticateAsync(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