共用方式為


AuthenticationHeaderParser.ParseAuthenticationHeaders Method

Definition

Creates a parsed set of parameters from the provided 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

Parameters

httpResponseHeaders
HttpResponseHeaders

HTTP response headers.

Returns

An instance of AuthenticationHeaderParser.

Remarks

For known values, such as the nonce used for Proof-of-Possession, the parser will first check for it in the WWW-Authenticate headers If it cannot find it, it will then check the Authentication-Info parameters for the value.

Applies to