public class DbxAppAuthRequests
extends java.lang.Object
| Constructor and Description |
|---|
DbxAppAuthRequests(DbxRawClientV2 client) |
| Modifier and Type | Method and Description |
|---|---|
TokenFromOAuth1Result |
tokenFromOauth1(java.lang.String oauth1Token,
java.lang.String oauth1TokenSecret)
Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access
token.
|
public DbxAppAuthRequests(DbxRawClientV2 client)
public TokenFromOAuth1Result tokenFromOauth1(java.lang.String oauth1Token, java.lang.String oauth1TokenSecret) throws TokenFromOAuth1ErrorException, DbxException
oauth1Token - The supplied OAuth 1.0 access token. Must have length
of at least 1 and not be null.oauth1TokenSecret - The token secret associated with the supplied
access token. Must have length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.TokenFromOAuth1ErrorExceptionDbxException