Wt  3.3.9
Public Member Functions | List of all members
Wt::Auth::AbstractPasswordService::StrengthValidatorResult Class Reference

Result returned when validating password strength. More...

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()

Generated on Tue Nov 21 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11