AuthenticationHeaderParser.ParseAuthenticationHeaders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.