AuthenticationHeaderParser.ParseAuthenticationHeaders 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從提供的 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 該值的參數。