public class BoxOAuthToken extends BoxObject implements IAuthData
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_ACCESS_TOKEN |
static String |
FIELD_EXPIRES_IN |
static String |
FIELD_REFRESH_TOKEN |
static String |
FIELD_TOKEN_TYPE |
| Constructor and Description |
|---|
BoxOAuthToken() |
BoxOAuthToken(BoxOAuthToken obj)
Copy constructor, this does deep copy for all the fields.
|
BoxOAuthToken(IBoxParcelWrapper in) |
BoxOAuthToken(Map<String,Object> map)
Instantiate the object from a map.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
Integer |
getExpiresIn() |
String |
getRefreshToken() |
String |
getTokenType() |
contains, equals, extraProperties, getExtraData, getValue, handleUnknown, hashCode, put, writeToParceltoJSONStringpublic static final String FIELD_ACCESS_TOKEN
public static final String FIELD_EXPIRES_IN
public static final String FIELD_TOKEN_TYPE
public static final String FIELD_REFRESH_TOKEN
public BoxOAuthToken()
public BoxOAuthToken(BoxOAuthToken obj)
obj - public BoxOAuthToken(Map<String,Object> map)
map - public BoxOAuthToken(IBoxParcelWrapper in)
public String getAccessToken()
getAccessToken in interface IAuthDatapublic Integer getExpiresIn()
public String getTokenType()
public String getRefreshToken()
getRefreshToken in interface IAuthDataCopyright © 2014. All Rights Reserved.