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: 

Frequency of saving credentials

Frequency of saving credentials

klm1
Helpful | Level 6
Go to solution

I notice the Java SDK Android example only seems to save the "credential" (access token and refresh token) when it is initially created. Is there a recommended frequency for updating the credential in preferences or is that not necessary as long as the original refresh token is still valid?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

As long as the refresh token is valid, it's not necessary to update the credentials. The SDK will automatically perform a refresh using the existing refresh token whenever needed.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

As long as the refresh token is valid, it's not necessary to update the credentials. The SDK will automatically perform a refresh using the existing refresh token whenever needed.

klm1
Helpful | Level 6
Go to solution

Thank you @Greg-DB!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    klm1 Helpful | Level 6
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?