CsIdentity class

CE-ID — the app's identity-extension declaration holder (codespecs_mapping.md §5.24).

The principal core is framework-fixed: TomUser (username, names, email, phone, address, time zone) wrapped by TomPrincipal (tom_core_kernel). Those runtime fields are not spec input. What an app declares is the extension riding on top — an ordinary class whose members are marked CsIdentityAttribute and which is carried as JSON via reflection into the user-profile carrier. Reuse, no gap class: the typing comes from the app-authored class, not a framework type.

Distinct from CsAuth, which establishes the principal and performs the public/encrypted token projection — CE-AU consumes CE-ID. Distinct from CsUserSetting: identity attributes describe who the user is and travel in the token; settings are changeable preferences and live in the settings store.

Constructors

CsIdentity({String? note})
Marks the annotated class as the application's CE-ID identity-extension holder (codespecs_derivation_contract.md §3.2.5).
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
note → String?
Optional part-specific note.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited