共用方式為


MicrosoftIdentityAppAuthenticationMessageHandler Class

Definition

A DelegatingHandler implementation that add an authorization header with a token for the application.

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

Constructors

MicrosoftIdentityAppAuthenticationMessageHandler(ITokenAcquisition, IOptionsMonitor<MicrosoftIdentityAuthenticationMessageHandlerOptions>, String)

Initializes a new instance of the MicrosoftIdentityAppAuthenticationMessageHandler 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