CertificateValidatedContext 构造函数

定义

创建 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

注册证书身份验证处理程序时使用的方案。

适用于