DownstreamWebApi Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.