語言

MicrosoftIdentityUserAuthenticationMessageHandler 類別

定義

DelegatingHandler 實作,為目前使用者新增一個帶有權杖的授權標頭。

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

建構函式

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

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

屬性

名稱 Description
TokenAcquisition

使用代幣取得服務。

(繼承來源 MicrosoftIdentityAuthenticationBaseMessageHandler)

方法

名稱 Description
GetOptionsForRequest(HttpRequestMessage)

取得指定請求的選項。

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

DelegatingHandler 實作,為目前使用者新增一個帶有權杖的授權標頭。

適用於