You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following methods have to be implemented for a token store.
56
+
57
+
```kotlin
58
+
funstoreAccessToken(accessToken:AccessToken)
59
+
60
+
funaccessToken(token:String): AccessToken?
61
+
62
+
funstoreCodeToken(codeToken:CodeToken)
63
+
64
+
funcodeToken(token:String): CodeToken?
65
+
66
+
funconsumeCodeToken(token:String): CodeToken?
67
+
68
+
funstoreRefreshToken(refreshToken:RefreshToken)
69
+
70
+
funrefreshToken(token:String): RefreshToken?
71
+
```
72
+
73
+
When `AccessToken` is passed to `storeAccessToken` and it contains a `RefreshToken`, then `storeAccessToken` is also responsible for saving the refresh token.
0 commit comments