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
註冊憑證驗證處理常式時所使用的配置。