語言

AuthenticationHeaderParser.ParseAuthenticationHeaders 方法

定義

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

public static Microsoft.Identity.Client.AuthenticationHeaderParser ParseAuthenticationHeaders(System.Net.Http.Headers.HttpResponseHeaders httpResponseHeaders);
static member ParseAuthenticationHeaders : System.Net.Http.Headers.HttpResponseHeaders -> Microsoft.Identity.Client.AuthenticationHeaderParser
Public Shared Function ParseAuthenticationHeaders (httpResponseHeaders As HttpResponseHeaders) As AuthenticationHeaderParser

參數

httpResponseHeaders
HttpResponseHeaders

HTTP 回應標頭。

傳回

AuthenticationHeaderParser的實例。

備註

對於已知值,例如用於所有權證明的 nonce,解析器會先在標頭中檢查 WWW-Authenticate 。如果找不到,則會檢查 Authentication-Info 該值的參數。

適用於