public class Token extends Object
| Constructor and Description |
|---|
Token() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
Gets the access token.
|
long |
getExpiresInSeconds()
Gets the expires in seconds.
|
String |
getRefreshToken()
Gets the refresh token.
|
String |
getTokenType()
Gets the token type.
|
void |
setAccessToken(String accessToken)
Sets the access token.
|
void |
setExpiresInSeconds(long expiresInSeconds)
Sets the expires in seconds.
|
void |
setRefreshToken(String refreshToken)
Sets the refresh token.
|
void |
setTokenType(String tokenType)
Sets the token type.
|
public String getAccessToken()
public void setAccessToken(String accessToken)
accessToken - the new access tokenpublic String getTokenType()
public void setTokenType(String tokenType)
tokenType - the new token typepublic String getRefreshToken()
public void setRefreshToken(String refreshToken)
refreshToken - the new refresh tokenpublic long getExpiresInSeconds()
public void setExpiresInSeconds(long expiresInSeconds)
expiresInSeconds - the new expires in secondsCopyright © 2014–2017 Smartsheet. All rights reserved.