Giao diện
identity / pipoint
Trang sinh tự động
Sinh từ ad83b0aea — chạy 820 migration lên PostgreSQL 17 rồi đọc pg_catalog. Mô tả bảng và cột lấy từ COMMENT ON. Không sửa tay: lần chạy docgen sau sẽ ghi đè.
2 bảng. Quay lại identity.
pipoint_deleted_uids
PPI-P3-03 (04 s2, E-10). SYSTEM_ONLY tombstone of a PiPoint uid deleted on the PiPoint side; kept forever. identity_flow.pipoint_bind refuses the uid (account_deleted). Written by the account.deleted job (PPI-P3-05).
public.pipoint_deleted_uids · 4 cột · 2 check · 0 unique · 1 index · 0 policy · 2 trigger · RLS bật
| Cột | Kiểu | Khoá | Mô tả | |
|---|---|---|---|---|
uid | text | NOT NULL | PK | |
deleted_at | timestamptz | NOT NULL | ||
event_id | text | |||
recorded_at | timestamptz | NOT NULL |
Khoá chính: uid
Trỏ ra: không có
Được trỏ tới: không có
pipoint_exchange_throttles
PPI-P3-10 (GAP-PPI-01). SYSTEM_ONLY attempt counter of POST auth/pipoint/exchange per (scope, sha256 of the key): UID = verified PiPoint uid, IP = caller address. Never stores a raw uid, address or token. Written only by identity_flow.pipoint_exchange_begin (pi_auth); rows a day past their window are purged by it.
public.pipoint_exchange_throttles · 5 cột · 3 check · 0 unique · 2 index · 0 policy · 0 trigger · RLS bật
| Cột | Kiểu | Khoá | Mô tả | |
|---|---|---|---|---|
scope | text | NOT NULL | PK | |
key_hash | bytea | NOT NULL | PK | |
attempt_count | integer | NOT NULL | ||
window_started_at | timestamptz | NOT NULL | ||
last_attempt_at | timestamptz | NOT NULL |
Khoá chính: scope, key_hash
Trỏ ra: không có
Được trỏ tới: không có