Expand description
User primitive — Identity Subject.
Runtime-global identity carrier. UserProfile tracks GDPR lifecycle; one
or more AuthCredentials attach Argon2id / Scrypt KDF secrets. The User
is intentionally shell-agnostic — legal / billing / GDPR obligations cross
shell boundaries.
Structs§
- Auth
Credential - Stored authentication credential — at least one per User (invariant E-user-2). Secret material is a KDF output; no raw password is stored.
- Gdpr
Erase User - Request GDPR crypto-erasure for an existing User. Lease — actual cascade runs via the erasure-cascade observer with p95 < 24h SLA.
- KdfParams
- KDF cost parameters.
- Register
User - Register a fresh
Userwith the supplied profile and credential. - UserId
- Opaque handle into the runtime User namespace.
- User
Profile - User profile Component — exactly one per User entity (invariant E-user-1).
Enums§
- Auth
Kind - Authentication channel family.
#[non_exhaustive]so new variants (WebAuthn extensions, social federation) can append without breaking compatibility. - Gdpr
Status - GDPR lifecycle state. Transition to
ErasurePendingblocks all actor-originated Actions on the user (compute MC gate, contract #5). - KdfKind
- Password-hashing algorithm family.