Partager via


AuthenticationHeaderParser Class

Definition

Parsed authentication headers to retrieve header values from HttpResponseHeaders.

public class AuthenticationHeaderParser
type AuthenticationHeaderParser = class
Public Class AuthenticationHeaderParser
Inheritance
AuthenticationHeaderParser

Constructors

AuthenticationHeaderParser()

Properties

AuthenticationInfoParameters

Parameters returned by the Authentication-Info header. This allows for more complex authentication scenarios, such as Proof-Of-Possession.

PopNonce

Nonce parsed from HttpResponseHeaders. This is acquired from the Proof-of-Possession WWW-Authenticate header or the Authentication-Info header

WwwAuthenticateParameters

Parameters returned by the WWW-Authenticate header. This allows for dynamic scenarios such as Claims challenge, Continuous Access Evaluation (CAE), and Conditional Access auth context. See our documentation for additional details.

Methods

ParseAuthenticationHeaders(HttpResponseHeaders)

Creates a parsed set of parameters from the provided HttpResponseHeaders.

ParseAuthenticationHeadersAsync(String, CancellationToken)

Creates the authentication parameters by attempting to call the resource unauthenticated and analyzing the response.

ParseAuthenticationHeadersAsync(String, HttpClient, CancellationToken)

Creates the authenticate parameters by attempting to call the resource unauthenticated, and analyzing the response.

Applies to