语言

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 检查该值的参数。

适用于