@abext/authorization 中文文档教程

发布于 4年前 浏览 18 更新于 3年前

Airboat Extension - Authorization

Examples and Usages

import '@abext/authorization';

Routes

  • GET /workspaces
  • POST /workspaces
  • GET /workspaces/:id
  • PUT /workspaces/:id
  • GET /users/me
  • PUT /users/me
  • GET /users/:id
  • GET /users/:id/images
  • GET /invitations
  • POST /invitations
  • POST /invications/:token/accepts

Models

  • Invitation
  • Permission
  • User
  • Workspace

Extension configuration

{
  "extensions": {
    "authorization": {
      "defaultWorkspace": "10000000-0000-0000-0000-000000000001"
    }
  }
}

Airboat Extension - Authorization

Examples and Usages

import '@abext/authorization';

Routes

  • GET /workspaces
  • POST /workspaces
  • GET /workspaces/:id
  • PUT /workspaces/:id
  • GET /users/me
  • PUT /users/me
  • GET /users/:id
  • GET /users/:id/images
  • GET /invitations
  • POST /invitations
  • POST /invications/:token/accepts

Models

  • Invitation
  • Permission
  • User
  • Workspace

Extension configuration

{
  "extensions": {
    "authorization": {
      "defaultWorkspace": "10000000-0000-0000-0000-000000000001"
    }
  }
}
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文