Class DbxOAuth1Upgrader

    • Field Detail

      • ResponseReader

        public static final JsonReader<java.lang.String> ResponseReader
        For JSON parsing.
    • Constructor Detail

      • DbxOAuth1Upgrader

        public DbxOAuth1Upgrader​(DbxRequestConfig requestConfig,
                                 DbxAppInfo appInfo)
        Parameters:
        appInfo - Your application's Dropbox API information (the app key and secret).
    • Method Detail

      • createOAuth2AccessToken

        public java.lang.String createOAuth2AccessToken​(DbxOAuth1AccessToken token)
                                                 throws DbxException
        Given an existing active OAuth 1 access token, make a Dropbox API call to get a new OAuth 2 access token that represents the same user and app.
        Throws:
        DbxException