toggle menu
opensdk
androidJvm
switch theme
search in API
opensdk
/
com.alicloud.databox.opensdk
/
AliyunpanTokenServer
/
getToken
get
Token
open
fun
getToken
(
authCode
:
String
,
onResult
:
Consumer
<
JSONObject
?
>
)
Get token
Parameters
auth
Code
authCode 客户端授权回调的code
on
Result
异步回调的token结果 JsonObject结果