5#ifndef CUTELYSTVALIDATORPWQUALITY_H
6#define CUTELYSTVALIDATORPWQUALITY_H
8#include "validatorrule.h"
10#include <Cutelyst/cutelyst_global.h>
14class ValidatorPwQualityPrivate;
65 static constexpr int defaultThreshold{30};
81 int threshold = ValidatorPwQuality::defaultThreshold,
104 static int validate(
const QString &value,
Validates an input field with libpwquality to check password quality.
~ValidatorPwQuality() override
Base class for all validator rules.
The Cutelyst namespace holds all public Cutelyst API.
Stores custom error messages and the input field label.
Contains the result of a single input parameter validation.