Class 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 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)
      • setPrivileges

        public void setPrivileges​(List<Integer> categoryIds)
      • toString

        public String toString()
        Overrides:
        toString in class com.foxinmy.weixin4j.model.Token