MicrosoftIdentityAppAuthenticationMessageHandler 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 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.