/// <summary> /// Create a simple password option /// </summary> /// <returns>A simple password string</returns> public string SimplePassword() { var requirements = new PasswordRequirements { MinLength = 8, MaxLength = 10 }; return(_passwordGenerator.GeneratePassword(requirements)); }
/// <summary> /// Create a moderate password option /// </summary> /// <returns>A moderate password string</returns> public string ModeratePassword() { var requirements = new PasswordRequirements { MinLength = 10, MaxLength = 12, MinSpecialChars = 1 }; return(_passwordGenerator.GeneratePassword(requirements)); }
/// <summary> /// Create a strong password option /// </summary> /// <returns>A strong password string</returns> public string StrongPassword() { var requirements = new PasswordRequirements { MinLength = 12, MaxLength = 16, MinNumericChars = 3, MinUpperAlphaChars = 3, MinLowerAlphaChars = 3, MinSpecialChars = 3 }; return(_passwordGenerator.GeneratePassword(requirements)); }