Registration & Authorization
1.1 The protocol of URL for the authorization request
1.1.1 The sent request
1.1.2 The returned value
1.2 Sending code and requesting for AccessToken
1.2.1 The sent request
1.2.2 The returned value
The definition
Parameter
|
Description
|
APIName
|
The authorized API name
|
AccessToken
|
The token for access
|
Expires
|
The expired time of AccessToken
|
RefreshToken
|
A new AccessToken will be applied after the old one is expired. The new AccessToken,
Expires, and APIName will be coming with the RefreshToken.
|
client_para
|
The same value to request. If it is not defined by request, the result will be empty string.
|
The sample of the returned value
{
"APIName": "OpenApiBP",
"AccessToken":"miY4mtt*90psO8Pz******xtIPAmhaUv",
"Expires": 172800,
"RefreshToken": "SlB9CCGdgXDANQ******VKSQNBZbAkKj4EMzsXN7Yj",
"client_para":"xxxxxxxx"
}
1.3 Sending RefreshToken and requesting new AccessToken
1.3.1 The sent request
1.3.2 The returned value
The definition
Parameter
|
Description
|
APIName
|
The authorized API name
|
AccessToken
|
The token for access
|
Expires
|
The expired time of AccessToken
|
RefreshToken
|
A new AccessToken will be applied after the old one is expired. The new AccessToken,
Expires, and APIName will be coming with the RefreshToken.
|
client_para
|
The same value to request. If it is not defined by request, the result will be empty
string.
|
The sample of the returned value
{
"APIName": "OpenApiBP",
"AccessToken": "gGsR-0eFP6nM******Aepd3GuS7A*EDz1WgY3kl3sFk2cIQ",
"Expires": 172800,
"RefreshToken": "gGsR-0eFP6nMJN******M7U1B7A7bUOQfsGGj7JkWZSg",
"client_para": "xxxxxxxx"
}