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