SSO
  1. user
SSO
  • sso
    • admin
      • account-create
      • account-suspend
      • account-unsuspend
      • account-bind-wallet
    • applications
      • scope
        • add
        • delete
      • user
        • add
          POST
        • update
          PUT
        • delete
          DELETE
        • user-all
          GET
        • is-allowed
          GET
      • 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. user

is-allowed

开发中
GET
/application/users/is-allowed
Return if the the user represented by the token has the appropriate role for the application represented by the apiKey.

请求参数

Query 参数

Header 参数

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://sso.gameown.io/api/application/users/is-allowed?strict=true or false&requiredRole=[admin, moderator, operator, tester, ea-tester, user]' \
--header 'Authorization: Bearer ' \
--header 'x-api-key;'

返回响应

🟢200Success
application/json
Body

示例
{}
修改于 2023-03-16 14:04:34
上一页
user-all
下一页
create
Built with