CertificateAuthenticationAppBuilderExtensions.AddCertificate Método

Definição

Sobrecargas

AddCertificate(AuthenticationBuilder)

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 de certificado.

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

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 de certificado.

AddCertificate(AuthenticationBuilder, String)

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 de certificado.

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

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 de certificado.

AddCertificate(AuthenticationBuilder)

Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs

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 de certificado.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddCertificate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificate (builder As AuthenticationBuilder) As AuthenticationBuilder

Parâmetros

Retornos

O AuthenticationBuilder.

Aplica-se a

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs

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 de certificado.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions> configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions>? configureOptions);
static member AddCertificate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificate (builder As AuthenticationBuilder, configureOptions As Action(Of CertificateAuthenticationOptions)) As AuthenticationBuilder

Parâmetros

configureOptions
Action<CertificateAuthenticationOptions>

Um delegado para configurar CertificateAuthenticationOptions.

Retornos

O AuthenticationBuilder.

Aplica-se a

AddCertificate(AuthenticationBuilder, String)

Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs

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 de certificado.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme);
static member AddCertificate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificate (builder As AuthenticationBuilder, authenticationScheme As String) As AuthenticationBuilder

Parâmetros

authenticationScheme
String

O esquema de autenticação.

Retornos

O AuthenticationBuilder.

Aplica-se a

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs
Origem:
CertificateAuthenticationExtensions.cs

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 de certificado.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions> configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions>? configureOptions);
static member AddCertificate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateAuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificate (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of CertificateAuthenticationOptions)) As AuthenticationBuilder

Parâmetros

authenticationScheme
String

O esquema de autenticação.

configureOptions
Action<CertificateAuthenticationOptions>

Um delegado para configurar CertificateAuthenticationOptions.

Retornos

O AuthenticationBuilder.

Aplica-se a