Package com.dropbox.core.v2.auth
Class DbxAppAuthRequests
- java.lang.Object
- 
- com.dropbox.core.v2.auth.DbxAppAuthRequests
 
- 
 public class DbxAppAuthRequests extends java.lang.ObjectRoutes in namespace "auth".
- 
- 
Constructor SummaryConstructors Constructor Description DbxAppAuthRequests(DbxRawClientV2 client)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenFromOAuth1ResulttokenFromOauth1(java.lang.String oauth1Token, java.lang.String oauth1TokenSecret)Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access token.
 
- 
- 
- 
Constructor Detail- 
DbxAppAuthRequestspublic DbxAppAuthRequests(DbxRawClientV2 client) 
 
- 
 - 
Method Detail- 
tokenFromOauth1public TokenFromOAuth1Result tokenFromOauth1(java.lang.String oauth1Token, java.lang.String oauth1TokenSecret) throws TokenFromOAuth1ErrorException, DbxException Creates an OAuth 2.0 access token from the supplied OAuth 1.0 access token.- Parameters:
- 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.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
- TokenFromOAuth1ErrorException
- DbxException
 
 
- 
 
-