Table of Contents

Interface IAuthTokenProvider

Namespace
AnyProtocol.Authorization.Abstraction
Assembly
AnyProtocol.Abstraction.dll

Supplies the credential propagated on an outbound AnyProtocol message.

public interface IAuthTokenProvider

Methods

GetTokenAsync(CancellationToken)

Gets the current credential, or null to omit it.

ValueTask<string?> GetTokenAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

ValueTask<string>