Struct CredentialNamespace
Stable name for one application's credential domain.
struct CredentialNamespace;
Use a reverse-DNS-style value and keep it stable across application runs.
Different namespaces intentionally cannot use each other's handles.
Constructors
| Name | Description |
this
(text)
|
Create the namespace used by application code.
|
Properties
| Name | Type | Description |
valid[get]
|
bool | Whether this value contains a usable namespace.
|
Methods
| Name | Description |
serialize
()
|
Return the namespace text for persistence or display in diagnostics.
|
tryParse
(text, result)
|
Restore or validate a namespace without throwing.
|
Examples
auto ns = CredentialNamespace("org.example.application");
auto store = new LinuxCredentialStore(ns);