cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Our new Dropbox updates make your online life easier. See how you can store online-only files, edit photos in Dropbox and annotate PDFs with these updates.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where are 0Auth tokens stored on iOS?

Where are 0Auth tokens stored on iOS?

philipkd
Helpful | Level 5

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 scratch, I need to reset all personal data associated with that app.

 

Thanks!

 

- Phil

1 Accepted Solution

Accepted Solutions

Re: Where are 0Auth tokens stored on iOS?

Greg-DB
Dropboxer
When 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)D...:
- SwiftyDropbox: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxOAuthManager.html#/s:FC13Swif...

View solution in original post

1 Reply 1

Re: Where are 0Auth tokens stored on iOS?

Greg-DB
Dropboxer
When 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)D...:
- SwiftyDropbox: https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/DropboxOAuthManager.html#/s:FC13Swif...
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?