Accountmaker Docs
Types

User

Individual who can authenticate within an application and access accounts via memberships.

user authentication profile credentials

User

A User is an individual who can authenticate within an application and access accounts through memberships.

Schema

interface User {
  id: string; // "uid..." - Unique identifier
  application_id: string; // Owning application
  status: UserStatus;
}

type UserStatus = "active" | "suspended" | "disabled" | "deleted";

Properties

PropertyTypeDescription
idstringKSUID with uid prefix
application_idstringApplication that owns user
statusenumCurrent user state

Status Values

StatusDescription
activeCan authenticate and access resources
suspendedTemporarily blocked from access
disabledDeprovisioned or inactive
deletedPermanently removed
┌─────────────────────────────────────┐
│               User                  │
│  ┌─────────────┐  ┌─────────────┐  │
│  │  Identity   │  │ Credentials │  │
│  └─────────────┘  └─────────────┘  │
│  ┌─────────────────────────────┐   │
│  │       Memberships           │   │
│  └─────────────────────────────┘   │
└─────────────────────────────────────┘
ResourceRelationship
Identity1:1 - Profile information (PII)
Credentials1:N - Email/password pairs
Memberships1:N - Account associations

Example

{
  "id": "uid_2kHfPZcN9xW4mE8RtY7vB",
  "application_id": "app_root",
  "status": "active"
}