Mengkueri izin cakupan (dalam OAuth) di ResourceServer tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationId |
string |
Yes |
ID aplikasi. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ResourceServerScopeId |
string |
Yes |
ID izin cakupan (dalam OAuth). |
ress_neg35flu6byysxwutaxu3dxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| ResourceServerScope |
object |
Informasi izin cakupan (dalam OAuth) di ResourceServer. |
|
| InstanceId |
string |
ID instans. |
idaas_xxxxxxxxxxx |
| ApplicationId |
string |
ID aplikasi. |
app_xxxxxxxxxxx |
| ResourceServerScopeId |
string |
ID izin cakupan (dalam OAuth). |
rss_xxxxxxxxxxx |
| ResourceServerScopeName |
string |
Nama izin cakupan (dalam OAuth). |
Read User Info |
| ResourceServerScopeValue |
string |
Nilai izin cakupan (dalam OAuth). |
User:Read:ALL |
| ResourceServerScopeType |
string |
Tipe izin cakupan (dalam OAuth). Valid values:
|
urn:alibaba:idaas:resourceserver:scope:delegated |
| AuthorizationType |
string |
Tipe otorisasi. Valid values:
|
authorize_required |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"ResourceServerScope": {
"InstanceId": "idaas_xxxxxxxxxxx",
"ApplicationId": "app_xxxxxxxxxxx",
"ResourceServerScopeId": "rss_xxxxxxxxxxx",
"ResourceServerScopeName": "Read User Info",
"ResourceServerScopeValue": "User:Read:ALL",
"ResourceServerScopeType": "urn:alibaba:idaas:resourceserver:scope:delegated",
"AuthorizationType": "authorize_required"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.