Uses of Class
com.foxinmy.weixin4j.mp.model.OauthToken

Packages that use OauthToken
com.foxinmy.weixin4j.mp.api   
 

Uses of OauthToken in com.foxinmy.weixin4j.mp.api
 

Methods in com.foxinmy.weixin4j.mp.api that return OauthToken
 OauthToken OauthApi.getAuthorizationToken(String code)
          公众号网页获取用户资料oauth授权:code换取token
 OauthToken ComponentApi.getAuthorizationToken(String authAppId, String code)
          第三方组件代替授权公众号发起网页授权:换取token
 OauthToken OauthApi.refreshAuthorizationToken(String refreshToken)
          公众号网页获取用户资料oauth授权:刷新token,由于access_token拥有较短的有效期,当access_token超时后, 可以使用refresh_token进行刷新, refresh_token有效期为30天,当refresh_token失效之后,需要用户重新授权。
 OauthToken ComponentApi.refreshAuthorizationToken(String authAppId, String refreshToken)
          第三方组件代替授权公众号发起网页授权:刷新token
 

Methods in com.foxinmy.weixin4j.mp.api with parameters of type OauthToken
 User OauthApi.getAuthorizationUser(OauthToken token)
          oauth授权获取用户信息(需scope为 snsapi_userinfo)
 



Copyright © 2014–2017. All rights reserved.