CertificateAuthenticationAppBuilderExtensions.AddCertificateCache Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Sertifika kimlik doğrulaması ekler.
Sertifika kimlik doğrulaması, istemci sertifikasını doğrulayan ve sertifikanın bir olarak çözümlendiği bir olay oluşturan bir ClaimsPrincipalkimlik doğrulama işleyicisi kullanır. Certicate kimlik doğrulaması hakkında daha fazla bilgi edinmek için bkz https://tools.ietf.org/html/rfc5246#section-7.4.4 .
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificateCache (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions> configureOptions = default);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificateCache (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions>? configureOptions = default);
static member AddCertificateCache : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificateCache (builder As AuthenticationBuilder, Optional configureOptions As Action(Of CertificateValidationCacheOptions) = Nothing) As AuthenticationBuilder
Parametreler
- configureOptions
- Action<CertificateValidationCacheOptions>
yapılandırmak CertificateValidationCacheOptionsiçin bir temsilci.