public class BasicOAuthToken extends Object implements OAuthToken
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessToken |
protected Long |
expiresIn |
protected String |
refreshToken |
protected String |
scope |
protected String |
tokenType |
| Constructor and Description |
|---|
BasicOAuthToken() |
BasicOAuthToken(String accessToken,
String tokenType) |
BasicOAuthToken(String accessToken,
String tokenType,
Long expiresIn) |
BasicOAuthToken(String accessToken,
String tokenType,
Long expiresIn,
String scope) |
BasicOAuthToken(String accessToken,
String tokenType,
Long expiresIn,
String refreshToken,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
Long |
getExpiresIn() |
String |
getRefreshToken() |
String |
getScope() |
String |
getTokenType() |
protected String accessToken
protected String tokenType
protected Long expiresIn
protected String refreshToken
protected String scope
public BasicOAuthToken()
public BasicOAuthToken(String accessToken, String tokenType, Long expiresIn, String refreshToken, String scope)
public String getAccessToken()
getAccessToken in interface OAuthTokenpublic String getTokenType()
getTokenType in interface OAuthTokenpublic Long getExpiresIn()
getExpiresIn in interface OAuthTokenpublic String getRefreshToken()
getRefreshToken in interface OAuthTokenpublic String getScope()
getScope in interface OAuthTokenCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.