CertificateAuthenticationAppBuilderExtensions.AddCertificateCache Método

Definição

Adiciona autenticação de certificado.

A autenticação de certificado usa um manipulador de autenticação que valida o certificado do cliente e gera um evento em que o certificado é resolvido para um ClaimsPrincipal. Confira https://tools.ietf.org/html/rfc5246#section-7.4.4 para ler mais sobre a autenticação certicada.

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

Parâmetros

configureOptions
Action<CertificateValidationCacheOptions>

Um delegado para configurar CertificateValidationCacheOptions.

Retornos

O AuthenticationBuilder.

Aplica-se a