In a project where user registration is done programmatically, you want to ensure that users have a strong password and are locked out after 5 incorrect login attempts. Which class should you configure to enforce these rules?

  • IdentityUser
  • IdentityRole
  • PasswordHasher
  • IdentityOptions
To enforce password strength rules and configure account lockout settings, you should configure the IdentityOptions class. This class allows you to set various security-related options, including password complexity requirements and account lockout thresholds.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *