Class OauthToken

  • All Implemented Interfaces:
    Cacheable, Serializable

    public class OauthToken
    extends Token
    用户授权token 一般通过授权页面获得
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • OauthToken

        public OauthToken​(String accessToken,
                          long expires)
    • Method Detail

      • getOpenId

        public String getOpenId()
      • setOpenId

        public void setOpenId​(String openId)
      • getUnionId

        public String getUnionId()
      • setUnionId

        public void setUnionId​(String unionId)
      • getRefreshToken

        public String getRefreshToken()
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • getScope

        public String getScope()
      • setScope

        public void setScope​(String scope)