public class AuthorizationResult extends Object
| Constructor and Description |
|---|
AuthorizationResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the authorization code which is required to obtain an access token.
|
long |
getExpiresInSeconds()
Gets the total number of seconds that the authorization token is valid.
|
String |
getState()
Gets the state string which is returned to the redirect URL for a registered application
|
void |
setCode(String code)
Sets the authorization code which is required to obtain an access token.
|
void |
setExpiresInSeconds(long expiresInSeconds)
Sets the total number of seconds that the authorization token is valid.
|
void |
setState(String state)
Sets the state string which is returned to the redirect URL for a registered application
|
String |
toString() |
public String getCode()
public void setCode(String code)
code - the new codepublic long getExpiresInSeconds()
public void setExpiresInSeconds(long expiresInSeconds)
expiresInSeconds - the new expires in secondspublic String getState()
public void setState(String state)
state - the new stateCopyright © 2014–2017 Smartsheet. All rights reserved.