CertificateValidationCache.Put 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
AuthenticateResult儲存連線和憑證的
public:
virtual void Put(Microsoft::AspNetCore::Http::HttpContext ^ context, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, Microsoft::AspNetCore::Authentication::AuthenticateResult ^ result);
public void Put (Microsoft.AspNetCore.Http.HttpContext context, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.AspNetCore.Authentication.AuthenticateResult result);
abstract member Put : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.AspNetCore.Authentication.AuthenticateResult -> unit
override this.Put : Microsoft.AspNetCore.Http.HttpContext * System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.AspNetCore.Authentication.AuthenticateResult -> unit
Public Sub Put (context As HttpContext, certificate As X509Certificate2, result As AuthenticateResult)
參數
- context
- HttpContext
HttpCoNtext。
- certificate
- X509Certificate2
憑證。