MicrosoftIdentityUserAuthenticationMessageHandler 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.
Initializes a new instance of the MicrosoftIdentityUserAuthenticationMessageHandler class.
public MicrosoftIdentityUserAuthenticationMessageHandler (Microsoft.Identity.Web.ITokenAcquisition tokenAcquisition, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> namedMessageHandlerOptions, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityOptions> microsoftIdentityOptions, string? serviceName = default);
new Microsoft.Identity.Web.MicrosoftIdentityUserAuthenticationMessageHandler : Microsoft.Identity.Web.ITokenAcquisition * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Identity.Web.MicrosoftIdentityOptions> * string -> Microsoft.Identity.Web.MicrosoftIdentityUserAuthenticationMessageHandler
Public Sub New (tokenAcquisition As ITokenAcquisition, namedMessageHandlerOptions As IOptionsMonitor(Of MicrosoftIdentityAuthenticationMessageHandlerOptions), microsoftIdentityOptions As IOptionsMonitor(Of MicrosoftIdentityOptions), Optional serviceName As String = Nothing)
Parameters
- tokenAcquisition
- ITokenAcquisition
Token acquisition service.
- namedMessageHandlerOptions
- IOptionsMonitor<MicrosoftIdentityAuthenticationMessageHandlerOptions>
Named options provider.
- microsoftIdentityOptions
- IOptionsMonitor<MicrosoftIdentityOptions>
Configuration options.
- serviceName
- String
Name of the service describing the downstream web API.