public final class DbxAuthInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static JsonReader<DbxAuthInfo> |
Reader |
static JsonWriter<DbxAuthInfo> |
Writer |
Constructor and Description |
---|
DbxAuthInfo(java.lang.String accessToken,
DbxHost host)
Creates a new instance with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessToken()
Returns the OAuth access token to use for authorization with Dropbox servers.
|
DbxHost |
getHost()
Returns Dropbox host configuration used to map requests to the appropriate Dropbox servers.
|
public static final JsonReader<DbxAuthInfo> Reader
public static final JsonWriter<DbxAuthInfo> Writer
public DbxAuthInfo(java.lang.String accessToken, DbxHost host)
accessToken
- OAuth access token for authorization with Dropbox servershost
- Dropbox host configuration used to select Dropbox serverspublic java.lang.String getAccessToken()
public DbxHost getHost()