SessionContext class abstract
Minimal interface for session context information
This interface provides only the essential session data that stores and business logic need, without coupling to the full Gatekeeper implementation.
Use this for:
- MobX stores that need session context
- Business logic that checks enrollment status
- Services that need to know current user/device context
For full session management (login, logout, tokens), use Gatekeeper.
- Implementers
Constructors
Properties
- boutiqueId → String
-
Boutique ID (point of sale identifier)
no setter
- chainId → String
-
Chain ID (from device enrollment)
no setter
- deviceId → String
-
Device ID (unique device identifier)
no setter
- firmId → String
-
Current firm ID (from user's JWT token)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLinked → bool
-
Whether the device is linked/enrolled to the cloud
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
Current user ID (from JWT token)
no setter
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