IdentityErrorDescriber.PasswordRequiresUniqueChars(Int32) 方法

定义

返回一个 , IdentityError 指示密码不满足唯一字符的最小数目 uniqueChars

public:
 virtual Microsoft::AspNetCore::Identity::IdentityError ^ PasswordRequiresUniqueChars(int uniqueChars);
public virtual Microsoft.AspNetCore.Identity.IdentityError PasswordRequiresUniqueChars (int uniqueChars);
abstract member PasswordRequiresUniqueChars : int -> Microsoft.AspNetCore.Identity.IdentityError
override this.PasswordRequiresUniqueChars : int -> Microsoft.AspNetCore.Identity.IdentityError
Public Overridable Function PasswordRequiresUniqueChars (uniqueChars As Integer) As IdentityError

参数

uniqueChars
Int32

必须使用的不同字符数。

返回

IdentityError 个 ,指示密码不满足唯一字符的最小数目 uniqueChars

适用于