mk-pass
Generate a password comprehensively
Loading...
Searching...
No Matches
mk_pass::PasswordRequirements Struct Reference

A structure to describe the requirements of a password's contents. More...

#include <mk_pass.hpp>

Public Member Functions

bool operator== (const PasswordRequirements &other) const
bool operator!= (const PasswordRequirements &other) const

Data Fields

uint16_t length
 The length of the password.
uint16_t decimal
 How many decimal integer characters should the password contain?
uint16_t specials
 How many special characters should the password contain?
bool firstIsLetter
 Should the first character always be a letter?
bool allowRepeats
 Allow characters to be used more than once?

Detailed Description

A structure to describe the requirements of a password's contents.

Member Function Documentation

◆ operator!=()

bool mk_pass::PasswordRequirements::operator!= ( const PasswordRequirements & other) const
inline

◆ operator==()

bool mk_pass::PasswordRequirements::operator== ( const PasswordRequirements & other) const
inline

Field Documentation

◆ allowRepeats

bool mk_pass::PasswordRequirements::allowRepeats

Allow characters to be used more than once?

◆ decimal

uint16_t mk_pass::PasswordRequirements::decimal

How many decimal integer characters should the password contain?

◆ firstIsLetter

bool mk_pass::PasswordRequirements::firstIsLetter

Should the first character always be a letter?

◆ length

uint16_t mk_pass::PasswordRequirements::length

The length of the password.

◆ specials

uint16_t mk_pass::PasswordRequirements::specials

How many special characters should the password contain?


The documentation for this struct was generated from the following file: