MoIdentity
"I know who you are"
MoIdentity handles user authentication, profiles, and goals. It's the entry point for all user context in the Mo Universe.
Systems
| System | Name | Status | Description |
|---|---|---|---|
| MoAuth | "The Gatekeeper" | ✅ Built | Authentication, user accounts |
| MoProfile | "The Record" | ✅ Built | User profile, fitness level |
| MoGoals | "The Target" | ⚠️ Partial | Training goals, targets |
Data Flow
User Login → MoAuth → MoProfile → MoGoals
↓
User Context available to all domains
Vertical Interface
interface MoIdentityInterface {
// Authentication
getCurrentUser(): Promise<User | null>;
// Profile
getProfile(): Promise<UserProfile>;
updateProfile(data: Partial<UserProfile>): Promise<void>;
// Goals
getGoals(): Promise<UserGoals>;
setGoals(goals: UserGoals): Promise<void>;
}