Class WeiboToken

  • All Implemented Interfaces:
    java.io.Serializable

    public class WeiboToken
    extends com.github.scribejava.core.model.OAuth2AccessToken
    Weibo token extra.

    More info at: Oauth2/access token

    Since:
    3.1.0
    Author:
    zhangzhenli
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WeiboToken​(com.github.scribejava.core.model.OAuth2AccessToken accessToken, java.lang.String uid)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getUid()  
      int hashCode()  
      void setUid​(java.lang.String uid)  
      • Methods inherited from class com.github.scribejava.core.model.OAuth2AccessToken

        getAccessToken, getExpiresIn, getRefreshToken, getScope, getTokenType
      • Methods inherited from class com.github.scribejava.core.model.Token

        getParameter, getRawResponse
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WeiboToken

        public WeiboToken​(com.github.scribejava.core.model.OAuth2AccessToken accessToken,
                          java.lang.String uid)
    • Method Detail

      • getUid

        public java.lang.String getUid()
      • setUid

        public void setUid​(java.lang.String uid)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class com.github.scribejava.core.model.OAuth2AccessToken
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.github.scribejava.core.model.OAuth2AccessToken