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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for