共用方式為


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

註冊憑證驗證處理常式時所使用的配置。

適用於