类 com.github.sd4324530.fastweixin.api.response.OauthGetTokenResponse
的使用

使用 OauthGetTokenResponse 的软件包
com.github.sd4324530.fastweixin.api   
 

com.github.sd4324530.fastweixin.apiOauthGetTokenResponse 的使用
 

返回 OauthGetTokenResponsecom.github.sd4324530.fastweixin.api 中的方法
 OauthGetTokenResponse OauthAPI.getToken(String code)
          用户同意授权后在回调url中会得到code,调用此方法用code换token以及openid,所以如果仅仅是授权openid,到这步就结束了
 OauthGetTokenResponse OauthAPI.refreshToken(String refreshToken)
          刷新token
 



Copyright © 2017. All rights reserved.