{credentials}
字符串必须是的Base64编码值{client id}:{client secret}
。client_id
:使用和client_secret
主体参数提供您的集成凭据。curl --location --request POST 'http://dev-cn.your-api-server.com/rest/v1/oauth/introspect' \
--header 'Authorization: Basic {credentials}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'token=JagALLazU0i2ld9WW4zTO4kaG0lkvP8Y5sSO206ZwxNF4E1y3xKJKF7TzN17BXTfaNOeY0P88AeRCE6cRF7SJzvf3Sx97rA80sGHtFplFo'
{
"active": true,
"scope": "asset:read design:meta:read design:permission:read folder:read",
"client": "OC-FAB12-AbCdEf",
"exp": 1712216144,
"iat": 1712201744,
"nbf": 1712201744,
"jti": "AbC1d-efgHIJKLMN2oPqrS",
"sub": "oBCdEF1Gh2i3jkLmno-pq"
}