Authorization: Bearer ********************
curl --location -g --request GET 'https://..authok.cn/api/v1/resource-servers'
{
"meta": {
"page": 1,
"page_size": 20,
"total": 1
},
"items": [
{
"id": "L1VHIsLTRqas7CjFZkEYkJ6gs53dQ8CE",
"name": "订单API",
"identifier": "https://order.mydomain/api/v1/",
"is_system": true,
"scopes": [
{
"value": "read:orders",
"description": "读取订单"
}
],
"allow_offline_access": true,
"skip_consent_for_verifiable_first_party_clients": true,
"token_lifetime": 129658883719,
"token_lifetime_for_web": 1065523239800,
"enforce_policies": true
}
]
}