CertificateAuthenticationAppBuilderExtensions.AddCertificate Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddCertificate(AuthenticationBuilder) |
Menambahkan autentikasi sertifikat. Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat. |
AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>) |
Menambahkan autentikasi sertifikat. Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat. |
AddCertificate(AuthenticationBuilder, String) |
Menambahkan autentikasi sertifikat. Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat. |
AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>) |
Menambahkan autentikasi sertifikat. Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat. |
AddCertificate(AuthenticationBuilder)
Menambahkan autentikasi sertifikat.
Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat.
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
Parameter
Mengembalikan
Berlaku untuk
AddCertificate(AuthenticationBuilder, Action<CertificateAuthenticationOptions>)
Menambahkan autentikasi sertifikat.
Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat.
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
Parameter
- configureOptions
- Action<CertificateAuthenticationOptions>
Delegasi untuk mengonfigurasi CertificateAuthenticationOptions.
Mengembalikan
Berlaku untuk
AddCertificate(AuthenticationBuilder, String)
Menambahkan autentikasi sertifikat.
Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat.
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
Parameter
- authenticationScheme
- String
Skema autentikasi.
Mengembalikan
Berlaku untuk
AddCertificate(AuthenticationBuilder, String, Action<CertificateAuthenticationOptions>)
Menambahkan autentikasi sertifikat.
Autentikasi sertifikat menggunakan handler autentikasi yang memvalidasi sertifikat klien dan memunculkan peristiwa di mana sertifikat diselesaikan ke ClaimsPrincipal. Lihat https://tools.ietf.org/html/rfc5246#section-7.4.4 untuk membaca selengkapnya tentang autentikasi sertifikat.
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
Parameter
- authenticationScheme
- String
Skema autentikasi.
- configureOptions
- Action<CertificateAuthenticationOptions>
Delegasi untuk mengonfigurasi CertificateAuthenticationOptions.
Mengembalikan
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk