CertificateAuthenticationAppBuilderExtensions.AddCertificate Metoda

Definice

Přetížení

AddCertificate(AuthenticationBuilder)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

AddCertificate(AuthenticationBuilder, String)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

AddCertificate(AuthenticationBuilder)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

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

AuthenticationBuilder

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

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

AuthenticationBuilder

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, String)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

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

AuthenticationBuilder

Hodnota AuthenticationBuilder

Platí pro

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Přidá ověřování certifikátů.

Ověřování certifikátem používá obslužnou rutinu ověřování, která ověřuje klientský certifikát a vyvolává událost, ve které se certifikát překládá na ClaimsPrincipal. Další https://tools.ietf.org/html/rfc5246#section-7.4.4 informace o ověřování certifikátů najdete tady.

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

AuthenticationBuilder

Hodnota AuthenticationBuilder

Platí pro