共用方式為


MicrosoftIdentityUserAuthenticationMessageHandler Class

Definition

A DelegatingHandler implementation that add an authorization header with a token on behalf of the current user.

public class MicrosoftIdentityUserAuthenticationMessageHandler : Microsoft.Identity.Web.MicrosoftIdentityAuthenticationBaseMessageHandler
type MicrosoftIdentityUserAuthenticationMessageHandler = class
    inherit MicrosoftIdentityAuthenticationBaseMessageHandler
Public Class MicrosoftIdentityUserAuthenticationMessageHandler
Inherits MicrosoftIdentityAuthenticationBaseMessageHandler
Inheritance
MicrosoftIdentityUserAuthenticationMessageHandler

Constructors

MicrosoftIdentityUserAuthenticationMessageHandler(ITokenAcquisition, IOptionsMonitor<MicrosoftIdentityAuthenticationMessageHandlerOptions>, IOptionsMonitor<MicrosoftIdentityOptions>, String)

Initializes a new instance of the MicrosoftIdentityUserAuthenticationMessageHandler class.

Properties

TokenAcquisition

Gets the token acquisition service.

(Inherited from MicrosoftIdentityAuthenticationBaseMessageHandler)

Methods

GetOptionsForRequest(HttpRequestMessage)

Gets the options for the specified request.

(Inherited from MicrosoftIdentityAuthenticationBaseMessageHandler)
SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.

Applies to