<PackageReference Include="Microsoft.Identity.Client" Version="4.87.0" />

Microsoft.Identity.Client.AuthenticationHeaderParser

Parsed authentication headers to retrieve header values from HttpResponseHeaders.
namespace Microsoft.Identity.Client { public class AuthenticationHeaderParser { public IReadOnlyList<WwwAuthenticateParameters> WwwAuthenticateParameters { get; } public AuthenticationInfoParameters AuthenticationInfoParameters { get; } public string PopNonce { get; } public static Task<AuthenticationHeaderParser> ParseAuthenticationHeadersAsync(string resourceUri, CancellationToken cancellationToken = default(CancellationToken)); public static Task<AuthenticationHeaderParser> ParseAuthenticationHeadersAsync(string resourceUri, HttpClient httpClient, CancellationToken cancellationToken = default(CancellationToken)); public static AuthenticationHeaderParser ParseAuthenticationHeaders(HttpResponseHeaders httpResponseHeaders); public AuthenticationHeaderParser(); } }