scummvm/backends/cloud/dropbox
Alexander Tkachov 8c16575035 CLOUD: Update Dropbox to use refresh_token
Dropbox is switching to short-lived access_token OAuth. This commit adapts Cloud::DropboxStorage to use refresh_token similarly to how other Storages do: by introducing a DropboxTokenRefresher.

It is used instead of plain CurlJsonRequest. It just checks if received JSON has access_token-related error and tries to refresh it, then repeats the original request transparently for the caller. If no such errors found, it just passes the info to the caller.
2021-02-04 01:57:48 +01:00
..
dropboxcreatedirectoryrequest.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxcreatedirectoryrequest.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxinforequest.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxinforequest.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxlistdirectoryrequest.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxlistdirectoryrequest.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxstorage.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxstorage.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxtokenrefresher.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxtokenrefresher.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxuploadrequest.cpp CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00
dropboxuploadrequest.h CLOUD: Update Dropbox to use refresh_token 2021-02-04 01:57:48 +01:00