public class AdmAccessToken
extends java.lang.Object
| Constructor and Description |
|---|
AdmAccessToken()
Initializes an instance of the
AdmAccessToken class |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessToken()
Gets the access token
|
java.util.Date |
getExpiresAtUtc()
Gets the UTC time when access token expires
|
java.lang.String |
getExpiresIn()
Gets the expiration time
|
java.lang.String |
getScope()
Gets the scope
|
java.lang.String |
getTokenType()
Gets the token type
|
void |
setAccessToken(java.lang.String accessToken)
Sets the access token
|
void |
setExpiresAtUtc(java.util.Date expiresAtUtc)
Sets the UTC time when access token expires
|
void |
setExpiresIn(java.lang.String expiresIn)
Sets the expiration time
|
void |
setScope(java.lang.String scope)
Sets the scope
|
void |
setTokenType(java.lang.String tokenType)
Sets the token type
|
public AdmAccessToken()
AdmAccessToken classpublic java.lang.String getAccessToken()
public void setAccessToken(java.lang.String accessToken)
accessToken - the accessToken to setpublic java.lang.String getTokenType()
public void setTokenType(java.lang.String tokenType)
tokenType - the tokenType to setpublic java.lang.String getExpiresIn()
public void setExpiresIn(java.lang.String expiresIn)
expiresIn - the expiresIn to setpublic java.lang.String getScope()
public void setScope(java.lang.String scope)
scope - the scope to setpublic java.util.Date getExpiresAtUtc()
public void setExpiresAtUtc(java.util.Date expiresAtUtc)
expiresAtUtc - the expiresAtUtc to set