I can get access token from Dropbox, using this code :
Auth.startOAuth2Authentication(getApplicationContext(), getString(R.string.DROPBOX_APP_KEY));
But how can I revoke access to Dropbox from Java/Android SDK?
I can get access token from Dropbox, using this code :
Auth.startOAuth2Authentication(getApplicationContext(), getString(R.string.DROPBOX_APP_KEY));
But how can I revoke access to Dropbox from Java/Android SDK?
You can use the DbxUserAuthRequests tokenRevoke
method to revoke the access token. That will cause any further API calls with that token to fail.
You can then delete the token from your app's storage.