Dela via


IdentityErrorDescriber.PasswordRequiresUniqueChars(Int32) Method

Definition

Returns an IdentityError indicating a password does not meet the minimum number uniqueChars of unique chars.

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

Parameters

uniqueChars
Int32

The number of different chars that must be used.

Returns

An IdentityError indicating a password does not meet the minimum number uniqueChars of unique chars.

Applies to