User Events
Events published when user accounts are created, authenticated, or profile information changes.
user.registered
Published when a new user account is created.
| Field | Type | Description |
|---|---|---|
userId | string | UUID of the new user |
email | string | User's email address |
registrationMethod | string | How user signed up (email, google, cognito) |
json
{
"type": "user.registered",
"version": "1.0.0",
"payload": {
"aggregateId": "a1b2c3d4-...",
"userId": "a1b2c3d4-...",
"email": "jane@example.com",
"registrationMethod": "google"
}
}user.logged_in
Published on each successful authentication.
| Field | Type | Description |
|---|---|---|
userId | string | UUID of the user |
email | string | User's email address |
ipAddress | string? | IP address of the login request |
user.profile_updated
Published when a user updates their profile information.
| Field | Type | Description |
|---|---|---|
userId | string | UUID of the user |
changes | Record<string, any> | Key-value map of changed fields |