stable · overview · 0.1.0
Identity & Trust
託管身分與服務驗證
Identity & Trust 提供 Platform Account 的託管註冊、登入和驗證流程,也提供 Project Backend 使用的 scoped Project Credential。Project Client 不應自行收集 MiniCenter 密碼或把服務憑證交給瀏覽器。
從註冊、登入與驗證了解 Platform Account 流程、閱讀 Project Credential串接後端,或以 Hosted Identity Migration安全連結既有 project identity。
適合使用的時機
- 你要讓人們透過 MiniCenter 託管頁面建立或登入 Platform Account。
- 你的 Project Backend 要以可撤銷、具 scope 的憑證呼叫 MiniCenter API。
不適合使用的時機
Project Membership、業務角色與 Entitlement 仍由 Project Backend 管理,不應塞入 MiniCenter access token。
Guides
- 註冊、登入與驗證 — registration、sign-in 與 verification 的公開託管流程。
- Project Credential — 在 Project Backend 安全保存、限制並輪替 MiniCenter Project Credential。
- 帳號註冊與法律文件 — Platform Account 註冊時如何呈現並記錄服務條款、隱私聲明與成年聲明。
- Project Backend OIDC — Integrate hosted sign-in with Authorization Code, PKCE, strict token validation, recovery, and logout.
- Hosted Identity Migration — Hand an Identity Migration Transaction to MiniCenter without exposing its flow token to the browser.
API Reference
- Inspect the authenticated Project Client — GET /api/v1/project-client
- Create an Identity Migration Transaction — POST /api/v1/identity-migration-transactions
- Inspect an Identity Migration Transaction — GET /api/v1/identity-migration-transactions/{transactionId}
- Create a browser-safe hosted Identity Migration handoff — POST /api/v1/identity-migration-transactions/{transactionId}/hosted-continuations
- Link an authenticated Platform Account — POST /api/v1/identity-migration-transactions/{transactionId}/link
- Confirm the durable Project Backend account link — POST /api/v1/identity-migration-transactions/{transactionId}/confirm-link
- Request fresh email verification for an existing Platform Account — POST /api/v1/identity-migration-transactions/{transactionId}/email-verification