Table of Contents

Interface IGraphQlAuthProvider

Namespace
BpNexT.NET.GraphQL.Auth
Assembly
BpNexT.NET.GraphQL.dll

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

cancellationToken CancellationToken

Token to cancel the operation (e.g. a token-refresh request).

Returns

Task<string>