次の方法で共有


CertificateAuthenticationAppBuilderExtensions.AddCertificateCache メソッド

定義

証明書認証を追加します。

証明書認証では、クライアント証明書を検証し、証明書が に解決されるイベントを発生させる認証ハンドラーを ClaimsPrincipal使用します。 証明書認証の詳細については、こちらをご覧 https://tools.ietf.org/html/rfc5246#section-7.4.4 ください。

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificateCache (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions> configureOptions = default);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddCertificateCache (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions>? configureOptions = default);
static member AddCertificateCache : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Certificate.CertificateValidationCacheOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddCertificateCache (builder As AuthenticationBuilder, Optional configureOptions As Action(Of CertificateValidationCacheOptions) = Nothing) As AuthenticationBuilder

パラメーター

configureOptions
Action<CertificateValidationCacheOptions>

を構成 CertificateValidationCacheOptionsするデリゲート。

戻り値

AuthenticationBuilder

適用対象