Reputation: 19224
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?
Upvotes: 0
Views: 160
Reputation: 16940
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.
Upvotes: 1