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