Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::PasswordOptions Struct Reference

Owning protected-editor policy; no plaintext history, copying or cutting exists. More...

#include <password.hpp>

Public Attributes

TextLimits limits {4096, 4096, 4096, 8192}
 Whole UTF-8 value bounds; edits are never truncated.
WidthPolicy widthPolicy {}
 Unicode measurement policy; masks always use ASCII '*'.
ControlStyle style {}
 Normal, focused and disabled appearance.
CellStyle selection {{}, {}, true, true}
 Selected mask appearance.
CellStyle cursor {{}, {}, true, false, true}
 Software caret appearance.
EditMode editMode {EditMode::IMMEDIATE}
 Publication boundary shared by input and setValue.
bool readOnly {}
 Block user edits; explicit setValue remains available.
PasswordPastePolicy pastePolicy {PasswordPastePolicy::DISABLED}
 Clipboard paste requires explicit opt-in.
PasswordDisplayMode displayMode {PasswordDisplayMode::PASSWORD}
 NO_ECHO reveals no count through layout.
std::optional< std::string > placeholder
 Public, nonsecret placeholder; never populated from a secret.
SecureStringOptions securePolicy {}
 Mandatory native encryption and bounded protected storage.

Detailed Description

Owning protected-editor policy; no plaintext history, copying or cutting exists.


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