CertificateAuthenticationAppBuilderExtensions.AddCertificate Metoda

Definice

Přetížení

AddCertificate(AuthenticationBuilder)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

AddCertificate(AuthenticationBuilder, String)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

AddCertificate(AuthenticationBuilder)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

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

Parametry

Návraty

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

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

Parametry

configureOptions
Action<CertificateAuthenticationOptions>

Delegát pro konfiguraci CertificateAuthenticationOptions.

Návraty

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, String)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

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

Parametry

authenticationScheme
String

Schéma ověřování.

Návraty

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátem.

Ověřování certifikátu používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, kdy se certifikát přeloží na ClaimsPrincipal. Přečtěte https://tools.ietf.org/html/rfc5246#section-7.4.4 si další informace o ověřování certifikátů.

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

Parametry

authenticationScheme
String

Schéma ověřování.

configureOptions
Action<CertificateAuthenticationOptions>

Delegát pro konfiguraci CertificateAuthenticationOptions.

Návraty

Hodnota AuthenticationBuilder

Platí pro