Share via


IAuthorizationHeaderProvider<TResult> Interface

Definition

Creates the value of an authorization header that the caller can use to call a protected web API.

public interface IAuthorizationHeaderProvider<TResult>
type IAuthorizationHeaderProvider<'Result> = interface
Public Interface IAuthorizationHeaderProvider(Of TResult)

Type Parameters

TResult

The result type.

Methods

CreateAuthorizationHeaderAsync(DownstreamApiOptions, ClaimsPrincipal, CancellationToken)

Creates an authorization header for calling a protected web API on behalf of a user or the application.

Applies to