/// <summary> /// Initialize Password StrengthChecker With Default Values /// </summary> public PasswordStrengthChecker() { //Defaults _options = new PasswordStrengthConfigs { ShortPass = "******", BadPass = "******", GoodPass = "******", StrongPass = "******", ContainsUsername = "******", //EnterPass = "******", //ShowPercent = false, //ShowText = true, //Animate = true, //AnimateSpeed = "fast", Username = false, UsernamePartialMatch = true, MinimumLength = 4 }; }
/// <summary> /// Initialize Password StrengthChecker With Custom Values /// </summary> /// <param name="options"></param> public PasswordStrengthChecker(PasswordStrengthConfigs options) { _options = options; }