cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

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: 

Re: 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...

View solution in original post

Need more support?