Appearance
Public functions (PROPOSED map)
Version: 1.0
Date: 2026-11-25
Status: Working baseline (function names PROPOSED từ hub usage guide — refine khi implement)
Caller import barrel công khai. Không deep-import persistence nội bộ trừ khi đã export.
| Function | Mục đích |
|---|---|
ensureAccountFromIdp | Provision/resume Account + Personal WS |
listMyWorkspaces | Danh sách + default context |
createOrganizationWorkspace | Tạo Org WS |
checkWorkspaceAction | Authz workspace action |
createInvitation / acceptInvitation / declineInvitation / listMyPendingInvitations | Invite |
| (PROPOSED) switch context, profile/prefs, revoke invite, admin registry/credentials… | Mở rộng full-mirror |
Token: Caller validate JWT; helper IdP tùy chọn (mock/test) theo usage guide hub lịch sử.
PRIOR-IMPLEMENTATION-SKETCH.md chỉ tham khảo module layout — không SoT.