MicrosoftIdentityAuthenticationBaseMessageHandler Constructor

Definition

Initializes a new instance of the MicrosoftIdentityAuthenticationBaseMessageHandler class.

protected MicrosoftIdentityAuthenticationBaseMessageHandler (Microsoft.Identity.Web.ITokenAcquisition tokenAcquisition, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> namedMessageHandlerOptions, string? serviceName = default);
new Microsoft.Identity.Web.MicrosoftIdentityAuthenticationBaseMessageHandler : Microsoft.Identity.Web.ITokenAcquisition * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> * string -> Microsoft.Identity.Web.MicrosoftIdentityAuthenticationBaseMessageHandler
Protected Sub New (tokenAcquisition As ITokenAcquisition, namedMessageHandlerOptions As IOptionsMonitor(Of MicrosoftIdentityAuthenticationMessageHandlerOptions), Optional serviceName As String = Nothing)

Parameters

tokenAcquisition
ITokenAcquisition

Token acquisition service.

namedMessageHandlerOptions
IOptionsMonitor<MicrosoftIdentityAuthenticationMessageHandlerOptions>

Named options provider.

serviceName
String

Name of the service describing the downstream web API.

Applies to