Skip to main content

DefaultParallelModelAuthentication.AuthenticateAsync method

Authenticates with the API by requesting a new access token, replacing any cached token.

public Task<string> AuthenticateAsync(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​