|
|
sqlgen::PrimaryKey< std::string > | id |
| | UUID for this event — part of composite primary key.
|
| |
|
sqlgen::PrimaryKey< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > | event_time |
| | Event timestamp — part of composite primary key and partition column.
|
| |
|
std::string | tenant_id |
| | Tenant identifier. Empty string if unknown (e.g. failed login before tenant resolution).
|
| |
|
std::string | account_id |
| | Account identifier. Empty string if unknown.
|
| |
|
std::string | event_type |
| | Event type: login_success, login_failure, logout, token_refresh, max_session_exceeded, signup_success, signup_failure.
|
| |
|
std::string | username |
| | Username associated with the event. May be empty for events without a resolved account.
|
| |
|
std::string | session_id |
| | Session UUID. Empty string if no session was established.
|
| |
|
std::string | party_id |
| | Party UUID. Empty string if no party was selected.
|
| |
|
std::string | error_detail |
| | Error detail for failure events. Empty string for success events.
|
| |
Entity for a single authentication event in the auth events hypertable.
Records logins, logouts, token refreshes, and related outcomes. No RLS — this is a system-level audit log.