Interface IGraphQlAuthProvider
Provides a bearer token for GraphQL requests.
public interface IGraphQlAuthProvider
Methods
GetTokenAsync(CancellationToken)
Returns the current bearer token.
Task<string> GetTokenAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenToken to cancel the operation (e.g. a token-refresh request).