MicrosoftIdentityAppAuthenticationMessageHandler Constructor

Definition

Initializes a new instance of the MicrosoftIdentityAppAuthenticationMessageHandler class.

public MicrosoftIdentityAppAuthenticationMessageHandler (Microsoft.Identity.Web.ITokenAcquisition tokenAcquisition, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> namedMessageHandlerOptions, string? serviceName = default);
new Microsoft.Identity.Web.MicrosoftIdentityAppAuthenticationMessageHandler : Microsoft.Identity.Web.ITokenAcquisition * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> * string -> Microsoft.Identity.Web.MicrosoftIdentityAppAuthenticationMessageHandler
Public 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