Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
philipkd
9 years agoCollaborator | Level 8
Where are 0Auth tokens stored on iOS?
Where are the 0Auth tokens stored on iOS? When I connect Dropbox from my app, delete the app, then re-download it from the App Store, it still shows I'm linked.
To fully test my app from scratc...
- 9 years agoWhen you use one of the Dropbox iOS SDKs, the access tokens are automatically stored for your app in the Keychain.
You can clear these stored tokens using DBOAuthManager's clearStoredAccessToken or clearStoredAccessTokens methods:
- Objective-C SDK: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBOAuthManager.html#/c:objc(cs)DBOAuthManager(im)clearStoredAccessToken:
- SwiftyDropbox: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxOAuthManager.html#/s:FC13SwiftyDropbox19DropboxOAuthManager22clearStoredAccessTokenFCS_18DropboxAccessTokenSb
Greg-DB
Dropbox Community Moderator
9 years agoWhen you use one of the Dropbox iOS SDKs, the access tokens are automatically stored for your app in the Keychain.
You can clear these stored tokens using DBOAuthManager's clearStoredAccessToken or clearStoredAccessTokens methods:
- Objective-C SDK: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBOAuthManager.html#/c:objc(cs)DBOAuthManager(im)clearStoredAccessToken:
- SwiftyDropbox: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxOAuthManager.html#/s:FC13SwiftyDropbox19DropboxOAuthManager22clearStoredAccessTokenFCS_18DropboxAccessTokenSb
You can clear these stored tokens using DBOAuthManager's clearStoredAccessToken or clearStoredAccessTokens methods:
- Objective-C SDK: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBOAuthManager.html#/c:objc(cs)DBOAuthManager(im)clearStoredAccessToken:
- SwiftyDropbox: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxOAuthManager.html#/s:FC13SwiftyDropbox19DropboxOAuthManager22clearStoredAccessTokenFCS_18DropboxAccessTokenSb
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,011 PostsLatest Activity: 3 days ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!