getToken

open fun getToken(authCode: String, onResult: Consumer<JSONObject?>)

Get token

Parameters

authCode

authCode 客户端授权回调的code

onResult

异步回调的token结果 JsonObject结果