次の方法で共有


IdentityBuilder.AddPasswordValidator<TValidator> メソッド

定義

の を IPasswordValidator<TUser> 追加します UserType

public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddPasswordValidator<T> () where T : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddPasswordValidator<TUser> () where TUser : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddPasswordValidator<TValidator> () where TValidator : class;
abstract member AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
override this.AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
abstract member AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
override this.AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
abstract member AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Validator : null)
override this.AddPasswordValidator : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Validator : null)
Public Overridable Function AddPasswordValidator(Of T As Class) () As IdentityBuilder
Public Overridable Function AddPasswordValidator(Of TUser As Class) () As IdentityBuilder
Public Overridable Function AddPasswordValidator(Of TValidator As Class) () As IdentityBuilder

型パラメーター

T TUser TValidator

パスワードの検証に使用される検証コントロールの種類。

戻り値

現在の IdentityBuilder インスタンス。

適用対象