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:
com.foxinmy.weixin4j.cache.Cacheable
,Serializable
public class ComponentAuthorizerToken extends com.foxinmy.weixin4j.model.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()
-
-
-
Constructor Detail
-
ComponentAuthorizerToken
public ComponentAuthorizerToken(String accessToken, long expires)
-
-
Method Detail
-
getAppId
public String getAppId()
-
setAppId
public void setAppId(String appId)
-
getRefreshToken
public String getRefreshToken()
-
setRefreshToken
public void setRefreshToken(String refreshToken)
-
toString
public String toString()
- Overrides:
toString
in classcom.foxinmy.weixin4j.model.Token
-
-