ListResourceServersForUser - 查询当前账户被授予的ResourceServer和Scope权限列表

更新时间:
复制为 MD 格式

游标方式查询当前账户被授予的ResourceServerScope权限列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

InstanceId

string

实例 ID。

idaas_ue2jvisn35ea5lmthk267xxxxx

NextToken

string

下一页查询凭证(Token),取值为上一次 API 调用返回的 NextToken 参数值。

NTxxxxxexample

UserId

string

账户 ID。

user_mkv7rgt4d7i4u7zqtzev2mxxxx

MaxResults

integer

分页查询时每页行数。

20

Filter

array<object>

过滤条件列表。

object

过滤条件。

Name

string

过滤条件名称。

ApplicationIds

Value

array

过滤条件值列表。

string

过滤条件值。

app_mkv7rgt4d7i4u7zqtzev2mxxxx

返回参数

名称

类型

描述

示例值

object

RequestId

string

请求 ID。

0441BD79-92F3-53AA-8657-F8CE4A2B912A

TotalCount

integer

列表总条数目。

100

NextToken

string

下一页查询凭证(Token)。

NTxxxexample

ResourceServers

array<object>

ResourceServer 应用列表。

array<object>

ResourceServer 应用信息。

InstanceId

string

实例 ID。

idaas_qsw77zl5vrllwzyrrfwbmpxxxx

ApplicationId

string

ResourceServer 应用 ID。

app_nbsomva32b6utec3hgi7scxxxx

ResourceServerScopes

array<object>

已授权的 Scope 权限列表。

object

Scope 权限信息。

ResourceServerScopeId

string

Scope 权限 ID。

ress_nbte4bb3qqqnaq73rlmkqixxxx

ResourceServerScopeName

string

Scope 权限名称。

Read All User

HasDirectAuthorization

boolean

是否存在直接授权。

枚举值:

  • true :

  • false :

true

HasInheritAuthorization

boolean

是否存在继承权限。

枚举值:

  • true :

  • false :

false

ResourceServerIdentifier

string

ResourceServer 唯一标识。

urn:idaas:test

MaxResults

integer

分页查询时每页行数。

20

示例

正常返回示例

JSON格式

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "TotalCount": 100,
  "NextToken": "NTxxxexample",
  "ResourceServers": [
    {
      "InstanceId": "idaas_qsw77zl5vrllwzyrrfwbmpxxxx",
      "ApplicationId": "app_nbsomva32b6utec3hgi7scxxxx",
      "ResourceServerScopes": [
        {
          "ResourceServerScopeId": "ress_nbte4bb3qqqnaq73rlmkqixxxx",
          "ResourceServerScopeName": "Read All User",
          "HasDirectAuthorization": true,
          "HasInheritAuthorization": false
        }
      ],
      "ResourceServerIdentifier": "urn:idaas:test"
    }
  ],
  "MaxResults": 20
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情