public class OAuth2Token extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accessToken
The access token issued by the authorization server.
|
protected Integer |
expiresIn
The duration in seconds of the access token lifetime.
|
protected String |
refreshToken
The refresh token used to obtain new access tokens using the same end-user access grant.
|
protected String |
scope
The scope of the access token as a list of space-delimited strings.
|
Constructor and Description |
---|
OAuth2Token() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
Integer |
getExpiresIn() |
String |
getRefreshToken() |
String |
getScope() |
void |
setAccessToken(String accessToken) |
void |
setExpiresIn(Integer expiresIn) |
void |
setRefreshToken(String refreshToken) |
void |
setScope(String scope) |
String |
toString() |
protected String accessToken
protected Integer expiresIn
protected String refreshToken
protected String scope
public String getAccessToken()
public void setAccessToken(String accessToken)
public Integer getExpiresIn()
public void setExpiresIn(Integer expiresIn)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public String getScope()
public void setScope(String scope)
Copyright © 2009–2014. All rights reserved.