CertificateValidationCache.Get(HttpContext, X509Certificate2) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtenez le AuthenticateResult pour la connexion et le certificat.
public:
virtual Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Get(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public Microsoft.AspNetCore.Authentication.AuthenticateResult Get (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
public Microsoft.AspNetCore.Authentication.AuthenticateResult? Get (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
abstract member Get : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.Authentication.AuthenticateResult
override this.Get : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Function Get (context As HttpContext, certificate As X509Certificate2) As AuthenticateResult
Paramètres
- context
- HttpContext
The HttpContext.
- certificate
- X509Certificate2
Certificat.