Share via


CertificateAuthenticationAppBuilderExtensions.AddCertificate Method

Definition

Overloads

AddCertificate(AuthenticationBuilder)

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

AddCertificate(AuthenticationBuilder, String)

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

AddCertificate(AuthenticationBuilder)

Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

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

Parameters

Returns

The AuthenticationBuilder.

Applies to

AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)

Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

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

Parameters

configureOptions
Action<CertificateAuthenticationOptions>

A delegate to configure CertificateAuthenticationOptions.

Returns

The AuthenticationBuilder.

Applies to

AddCertificate(AuthenticationBuilder, String)

Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

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

Parameters

authenticationScheme
String

The authentication scheme.

Returns

The AuthenticationBuilder.

Applies to

AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)

Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs
Source:
CertificateAuthenticationExtensions.cs

Adds certificate authentication.

Certificate authentication uses a authentication handler that validates client certificate and raises an event where the certificate is resolved to a ClaimsPrincipal. See https://tools.ietf.org/html/rfc5246#section-7.4.4 to read more about certificate authentication.

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

Parameters

authenticationScheme
String

The authentication scheme.

configureOptions
Action<CertificateAuthenticationOptions>

A delegate to configure CertificateAuthenticationOptions.

Returns

The AuthenticationBuilder.

Applies to