语言

AuthenticationHeaderParser 类

定义

分析的身份验证标头以从 HttpResponseHeaders中检索标头值。

public class AuthenticationHeaderParser
type AuthenticationHeaderParser = class
Public Class AuthenticationHeaderParser
继承
AuthenticationHeaderParser

构造函数

名称 说明
AuthenticationHeaderParser()

分析的身份验证标头以从 HttpResponseHeaders中检索标头值。

属性

名称 说明
AuthenticationInfoParameters

标头返回 Authentication-Info 的参数。 这允许更复杂的身份验证方案,例如所有权证明。

PopNonce

Nonce 分析自 HttpResponseHeaders. 这是从所有权WWW-Authenticate证明标头或标头获取的Authentication-Info

WwwAuthenticateParameters

标头返回 WWW-Authenticate 的参数。 这允许动态方案,例如声明质询、持续访问评估(CAE)和条件访问身份验证上下文。 有关更多详细信息,请参阅 我们的文档 。

方法

名称 说明
ParseAuthenticationHeaders(HttpResponseHeaders)

从所提供的 HttpResponseHeaders参数创建已分析的参数集。

ParseAuthenticationHeadersAsync(String, CancellationToken)

通过尝试调用未经身份验证的资源和分析响应来创建身份验证参数。

ParseAuthenticationHeadersAsync(String, HttpClient, CancellationToken)

通过尝试调用未经身份验证的资源和分析响应来创建身份验证参数。

适用于