cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Where are 0Auth tokens stored on iOS?

Where are 0Auth tokens stored on iOS?

philipkd
Collaborator | Level 8
Go to solution

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

Greg-DB
Dropbox Staff
Go to solution
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

Greg-DB
Dropbox Staff
Go to solution
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...
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?