Package org.pac4j.scribe.model
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
ConstructorDescriptionWeiboToken
(com.github.scribejava.core.model.OAuth2AccessToken accessToken, String uid) Constructor for WeiboToken. -
Method Summary
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
-
Constructor Details
-
WeiboToken
Constructor for WeiboToken.
- Parameters:
accessToken
- aOAuth2AccessToken
objectuid
- aString
object
-
-
Method Details
-
getUid
Getter for the field
uid
.- Returns:
- a
String
object
-
setUid
Setter for the field
uid
.- Parameters:
uid
- aString
object
-
equals
- Overrides:
equals
in classcom.github.scribejava.core.model.OAuth2AccessToken
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.github.scribejava.core.model.OAuth2AccessToken
-