vibe.web.validation

Parameter validation types transparently supported for web interface methods.

Types 4

Validated e-mail parameter type.

See_also: vibe.utils.validation.validateEmail

Fields
private string m_value
Methods
string toString() const pure nothrow @safe
Nullable!ValidEmail fromStringValidate(string str, string * error)
Constructors
this(string value)

Validated user name parameter type.

See_also: vibe.utils.validation.validateUsername

Fields
private string m_value
Methods
string toString() const pure nothrow @safe
Nullable!ValidUsername fromStringValidate(string str, string * error)
Constructors
this(string value)

Validated password parameter.

See_also: vibe.utils.validation.validatePassword

Fields
private string m_value
Methods
string toString() const pure nothrow @safe
Nullable!ValidPassword fromStringValidate(string str, string * error)
Constructors
this(string value)
structConfirm(string CONFIRMED_PARAM)

Ensures that the parameter value matches that of another parameter.

Fields
CONFIRMED_PARAM confirmedParameter
private string m_value
Methods
string toString() const pure nothrow @safe
Confirm fromString(string str)