語言

MicrosoftIdentityAppAuthenticationMessageHandler 類別

定義

一個 DelegatingHandler 實作,為應用程式新增一個帶有權杖的授權標頭。

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

建構函式

名稱 Description
MicrosoftIdentityAppAuthenticationMessageHandler(ITokenAcquisition, IOptionsMonitor<MicrosoftIdentityAuthenticationMessageHandlerOptions>, String)

初始化 MicrosoftIdentityAppAuthenticationMessageHandler 類別的新執行個體。

屬性

名稱 Description
TokenAcquisition

使用代幣取得服務。

(繼承來源 MicrosoftIdentityAuthenticationBaseMessageHandler)

方法

名稱 Description
GetOptionsForRequest(HttpRequestMessage)

取得指定請求的選項。

(繼承來源 MicrosoftIdentityAuthenticationBaseMessageHandler)
SendAsync(HttpRequestMessage, CancellationToken)

一個 DelegatingHandler 實作,為應用程式新增一個帶有權杖的授權標頭。

適用於