public class AccessToken extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessToken.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessToken
The requested access token.
|
protected Long |
expiresIn
The time in seconds by which this token will expire.
|
protected EnumWrapper<AccessTokenIssuedTokenTypeField> |
issuedTokenType
The type of downscoped access token returned.
|
protected String |
refreshToken
The refresh token for this access token, which can be used to request a new access token when
the current one expires.
|
protected List<ResourceScope> |
restrictedTo
The permissions that this access token permits, providing a list of resources (files, folders,
etc) and the scopes permitted for each of those resources.
|
protected EnumWrapper<AccessTokenTokenTypeField> |
tokenType
The type of access token returned.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
AccessToken() |
protected |
AccessToken(AccessToken.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAccessToken() |
Long |
getExpiresIn() |
EnumWrapper<AccessTokenIssuedTokenTypeField> |
getIssuedTokenType() |
String |
getRefreshToken() |
List<ResourceScope> |
getRestrictedTo() |
EnumWrapper<AccessTokenTokenTypeField> |
getTokenType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String accessToken
protected EnumWrapper<AccessTokenTokenTypeField> tokenType
protected List<ResourceScope> restrictedTo
protected String refreshToken
protected EnumWrapper<AccessTokenIssuedTokenTypeField> issuedTokenType
public AccessToken()
protected AccessToken(AccessToken.Builder builder)
public String getAccessToken()
public Long getExpiresIn()
public EnumWrapper<AccessTokenTokenTypeField> getTokenType()
public List<ResourceScope> getRestrictedTo()
public String getRefreshToken()
public EnumWrapper<AccessTokenIssuedTokenTypeField> getIssuedTokenType()