語言

AuthenticationHeaderParser 類別

定義

解析認證標頭以取得標頭值。HttpResponseHeaders

public class AuthenticationHeaderParser
type AuthenticationHeaderParser = class
Public Class AuthenticationHeaderParser
繼承
AuthenticationHeaderParser

建構函式

名稱 Description
AuthenticationHeaderParser()

解析認證標頭以取得標頭值。HttpResponseHeaders

屬性

名稱 Description
AuthenticationInfoParameters

參數由 Authentication-Info 標頭回傳。 這使得更複雜的認證情境得以實現,例如所有權證明(Proof-of-possession)。

PopNonce

Nonce 從 解析出來 HttpResponseHeaders。 此資料可從持有 WWW-Authenticate 證明標頭或標 Authentication-Info 頭取得

WwwAuthenticateParameters

參數由 WWW-Authenticate 標頭回傳。 這允許動態情境,如理賠挑戰、持續存取評估(CAE)及條件存取認證上下文。 更多詳情請參閱 我們的文件 。

方法

名稱 Description
ParseAuthenticationHeaders(HttpResponseHeaders)

從提供的 HttpResponseHeaders參數中建立一組解析過的參數。

ParseAuthenticationHeadersAsync(String, CancellationToken)

透過嘗試呼叫未認證資源並分析回應,建立認證參數。

ParseAuthenticationHeadersAsync(String, HttpClient, CancellationToken)

透過嘗試呼叫未認證資源並分析回應來建立認證參數。

適用於