Package com.foxinmy.weixin4j.mp.model
Class ComponentAuthorizerToken
- java.lang.Object
-
- com.foxinmy.weixin4j.model.Token
-
- com.foxinmy.weixin4j.mp.model.ComponentAuthorizerToken
-
- All Implemented Interfaces:
Cacheable
,Serializable
public class ComponentAuthorizerToken extends Token
授权码换取公众号的授权信息- Since:
- JDK 1.7
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentAuthorizerToken(String accessToken, long expires)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAppId()
List<Integer>
getPrivileges()
String
getRefreshToken()
void
setAppId(String appId)
void
setPrivileges(List<Integer> categoryIds)
void
setRefreshToken(String refreshToken)
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.model.Token
getAccessToken, getCreateTime, getExpires, getExtra, pushExtra
-
-
-
-
Constructor Detail
-
ComponentAuthorizerToken
public ComponentAuthorizerToken(String accessToken, long expires)
-
-