SSO
  1. applications
SSO
  • sso
    • admin
      • account-create
      • account-suspend
      • account-unsuspend
      • account-bind-wallet
    • applications
      • scope
        • add
        • delete
      • user
        • add
        • update
        • delete
        • user-all
        • is-allowed
      • create
        POST
      • delete
        DELETE
      • new-api-key
        POST
      • all
        GET
      • all-own
        GET
      • details
        GET
      • is-owner
        GET
    • auth
      • token
        • token-refresh
      • register
        • register
        • request-email-code
        • verify-email-code
      • password
        • password-reset
        • request-email-code
        • verify-email-code
      • discord
        • authorize-URL
        • login
      • login
      • auth-me
      • logout
    • auth-eth
      • login-challenge
      • login
      • bind-challenge
      • bind-account
      • is-bound
    • access
      • planning
        • session
          • get
          • all
          • find
          • create
          • update
          • delete
        • assistant
          • create-sessions
          • delete-sessions
        • get
      • pbe-access
        • is-authorized
    • newsletter
      • get-subscribers
    • user
      • me
        • email
          • update
        • password
          • update
      • role
        • all
        • update-role
        • update-role-batch
        • delete-role
        • delete-role-batch
      • all
      • find
    • wallet
      • find-owner
      • find-wallet
    • Get API version
      GET
  1. applications

create

开发中
POST
/applications
Internal application to delegate the authentication process to an API key. Users can create either personal or management application.
For Delysium, backend application can use the management application to access data without having to deal with JWT validity. They can also manage their own internal user & roles within that application.

请求参数

Header 参数

Body 参数application/json

示例
{
    "name": "myapp",
    "description": "application description",
    "type": "management",
    "accessType": "read",
    "modules": [
        "user"
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sso.gameown.io/api/applications' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "myapp",
    "description": "application description",
    "type": "management",
    "accessType": "read",
    "modules": [
        "user"
    ]
}'

返回响应

🟢200Success
application/json
Body

示例
{
    "apiKey": ""
}
修改于 2023-03-16 14:04:33
上一页
is-allowed
下一页
delete
Built with