cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

Where are 0Auth tokens stored on iOS?

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
Highlighted

Re: Where are 0Auth tokens stored on iOS?

Dropboxer
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
Highlighted

Re: Where are 0Auth tokens stored on iOS?

Dropboxer
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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?