DownstreamWebApi Constructor

Definition

Constructor.

public DownstreamWebApi (Microsoft.Identity.Web.ITokenAcquisition tokenAcquisition, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.DownstreamWebApiOptions> namedDownstreamWebApiOptions, System.Net.Http.HttpClient httpClient, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityOptions> microsoftIdentityOptionsMonitor);
new Microsoft.Identity.Web.DownstreamWebApi : Microsoft.Identity.Web.ITokenAcquisition * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.DownstreamWebApiOptions> * System.Net.Http.HttpClient * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityOptions> -> Microsoft.Identity.Web.DownstreamWebApi
Public Sub New (tokenAcquisition As ITokenAcquisition, namedDownstreamWebApiOptions As IOptionsMonitor(Of DownstreamWebApiOptions), httpClient As HttpClient, microsoftIdentityOptionsMonitor As IOptionsMonitor(Of MicrosoftIdentityOptions))

Parameters

tokenAcquisition
ITokenAcquisition

Token acquisition service.

namedDownstreamWebApiOptions
IOptionsMonitor<DownstreamWebApiOptions>

Named options provider.

httpClient
HttpClient

HTTP client.

microsoftIdentityOptionsMonitor
IOptionsMonitor<MicrosoftIdentityOptions>

Configuration options.

Applies to