aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/basestorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/basestorage.h')
-rw-r--r--backends/cloud/basestorage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/cloud/basestorage.h b/backends/cloud/basestorage.h
index 4b3b497d0d..243e7f4bcc 100644
--- a/backends/cloud/basestorage.h
+++ b/backends/cloud/basestorage.h
@@ -69,6 +69,11 @@ protected:
*/
virtual bool needsRefreshToken() = 0;
+ /**
+ * Return whether to expect new refresh_token on refresh.
+ */
+ virtual bool canReuseRefreshToken() = 0;
+
private:
void tokenRefreshed(BoolCallback callback, Networking::JsonResponse response);