I am using Dropbox in my own app. Once I login, the tableview is displayed and every time I load that view, I go straight to the table view. But, my concern is, suppose different people are using this application, they might want to login with their own accounts so I want to have an option to logout. How do I do that?
Switch accounts on the Dropbox mobile app On Android, tap the menu icon (horizontal lines) in the top left and then Settings. On iPhone/iPad, tap the account icon (person) in the bottom right and then the gear icon in the top left.
[[DBSession sharedSession] unlinkAll];
Works for me.
You should drop the tokens you got from the Oauth process , and start the login process over.
https://www.dropbox.com/developers/docs#authentication-for-mobile-devices
Update April '14 : This answer is a bit outdated, as APIs tend to change over time. Other suggestions were made here as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With