Wt  3.3.0
Public Member Functions
Wt::Auth::AbstractPasswordService::StrengthValidatorResult Class Reference

Result returned when validating password strength. More...

List of all members.

Public Member Functions

 StrengthValidatorResult (bool valid, const WString &message, int strength)
 Constructor.
bool isValid ()
 Returns whether the password is considered strong enough.
WString message ()
 Returns a message describing the password strength.
int strength ()
 Returns the password strength in a scale of 0 to 5.

Detailed Description

Result returned when validating password strength.

This class contains information on the validity and the strength of the password together with possible messages. When the password is considered not strong enough, a message should be provided which helps the user pick a stronger password.

See also:
AbstractStrengthValidator::evaluateStrength()
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator

Generated on Mon Apr 8 2013 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1