Class WeiboToken

java.lang.Object
com.github.scribejava.core.model.Token
com.github.scribejava.core.model.OAuth2AccessToken
org.pac4j.scribe.model.WeiboToken
All Implemented Interfaces:
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:
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    boolean
    Getter for the field uid.
    int
    void
    Setter for the field 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 Details

    • WeiboToken

      public WeiboToken(com.github.scribejava.core.model.OAuth2AccessToken accessToken, String uid)

      Constructor for WeiboToken.

      Parameters:
      accessToken - a OAuth2AccessToken object
      uid - a String object
  • Method Details

    • getUid

      public String getUid()

      Getter for the field uid.

      Returns:
      a String object
    • setUid

      public void setUid(String uid)

      Setter for the field uid.

      Parameters:
      uid - a String object
    • equals

      public boolean equals(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