Class DbxAppAuthRequests


  • public class DbxAppAuthRequests
    extends java.lang.Object
    Routes in namespace "auth".
    • Constructor Detail

      • DbxAppAuthRequests

        public DbxAppAuthRequests​(DbxRawClientV2 client)
    • Method Detail

      • tokenFromOauth1

        @Deprecated
        public TokenFromOAuth1Result tokenFromOauth1​(java.lang.String oauth1Token,
                                                     java.lang.String oauth1TokenSecret)
                                              throws TokenFromOAuth1ErrorException,
                                                     DbxException
        Deprecated.
        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