auth

身份驗證

託管登入頁與 REST/SDK 註冊登入、OAuth 授權碼 + PKCE、JWT 存取權杖。

OpenAPI 路徑

共 40 個操作(method + path + summary)

MethodPathSummary
GET/oauth/authorize授權端點
GET/oauth/google/callbackGoogle OAuth 回調(平台統一)
POST/oauth/google/exchange原生 SDK:以 id_token 或 google_code 換 session/OAuth code
POST/oauth/google/resume原生:WebView 完成 consent/補資料後續跑 authorize
GET/oauth/google/start啟動 Google OAuth(平台統一)
POST/oauth/token用授權碼或 refresh_token 換發 access token
POST/v1/auth/accept-terms半登錄同意條款並重跑 gate
GET/v1/auth/accountApp 帳號中心快照(full session)
PATCH/v1/auth/account/profile更新顯示名稱/頭像 URL/簡介/地址
POST/v1/auth/consent半登錄資料權限同意並重跑 gate
GET/v1/auth/consent/requirements查詢 App 資料權限欄位(必填/選填/關閉)
POST/v1/auth/login終端用戶登入
POST/v1/auth/logout撤銷 refresh token
POST/v1/auth/magic-link/request請求 Magic Link 登入信
POST/v1/auth/magic-link/verify驗證 Magic Link 並登入
POST/v1/auth/mfa/recovery/regenerate重產復原碼
POST/v1/auth/mfa/recovery/verify使用復原碼完成 MFA
POST/v1/auth/mfa/skip略過建議開啟的 MFA 並重跑 gate
GET/v1/auth/mfa/statusMFA 綁定狀態與可用方法
DELETE/v1/auth/mfa/totp解除 TOTP 綁定
POST/v1/auth/mfa/totp/begin開始 TOTP 綁定
POST/v1/auth/mfa/totp/confirm確認 TOTP 綁定
POST/v1/auth/mfa/totp/verify登入/半登錄 TOTP 驗證
POST/v1/auth/mfa/webauthn/auth/optionsPasskey 登入 options
POST/v1/auth/mfa/webauthn/auth/verifyPasskey 登入 verify
POST/v1/auth/mfa/webauthn/register/optionsPasskey 註冊 options
POST/v1/auth/mfa/webauthn/register/verifyPasskey 註冊 verify
DELETE/v1/auth/mfa/webauthn/{credentialId}移除 Passkey
POST/v1/auth/password/recovery/confirm忘記密碼:核對驗證碼並取得 reset_token
POST/v1/auth/password/recovery/lookup忘記密碼:依帳號回傳部分聯絡方式
POST/v1/auth/password/recovery/send忘記密碼:核對完整聯絡方式後寄出驗證碼或連結
POST/v1/auth/password/reset以 reset_token 重設密碼
POST/v1/auth/profile/complete補齊必填個資(complete-profile)
POST/v1/auth/refresh刷新 access token
POST/v1/auth/register終端用戶註冊
DELETE/v1/auth/users/{userId}解除用戶綁定(可能刪除全球帳號)
GET/v1/dev/apps/{id}/audit-events開發者操作審計列表(合規)
GET/v1/dev/apps/{id}/codes/stats碼用量統計(開發者控制台;平台權限)
GET/v1/dev/apps/{id}/users列出 App 用戶(開發者)
DELETE/v1/dev/apps/{id}/users/{userId}解除 App 用戶綁定(開發者)