The Dropbox Java SDK used to give us long lived tokens to access their APIs. Now the APIs require short lived refresh tokens, the SDK supports the refreshing and issuing of tokens to new users. We just have to switch to using DbxCredential and to be able to serialize and deserialize the DbxCredential and the original long lived tokens.
:green_heart: How did you test it?
[x] Unit tests
[x] New Dropbox auth'd user can backup entries
[x] New Dropbox auth'd user can refresh tokens and backup entires
[x] Existing Dropbox auth'd user (legacy style tokens) can still backup entries
:scroll: Description
The Dropbox Java SDK used to give us long lived tokens to access their APIs. Now the APIs require short lived refresh tokens, the SDK supports the refreshing and issuing of tokens to new users. We just have to switch to using
DbxCredential
and to be able to serialize and deserialize theDbxCredential
and the original long lived tokens.:green_heart: How did you test it?