CertificateValidatedContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 CertificateValidatedContext 的新实例。
public:
CertificateValidatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Certificate::CertificateAuthenticationOptions ^ options);
public CertificateValidatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.Certificate.CertificateValidatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions -> Microsoft.AspNetCore.Authentication.Certificate.CertificateValidatedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As CertificateAuthenticationOptions)
参数
- context
- HttpContext
验证上下文的 HttpContext 也适用。
- scheme
- AuthenticationScheme
注册证书身份验证处理程序时使用的方案。