Class DbxAppAuthRequests


  • public class DbxAppAuthRequests
    extends java.lang.Object
    Routes in namespace "auth".
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DbxAppAuthRequests

        public DbxAppAuthRequests​(DbxRawClientV2 client)
    • Method Detail

      • tokenFromOauth1

        public 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