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
* Fix state not being included
* Custom authentication, with basic authentication as default
* Split up IdentityService into re-usable parts
Redirects authentication can be intercepted based on there context
* Open up BasicAuthorizer implementations
* Remove context from authorizer methods
Bind Authorizer to requests
* Abstract layer around requests to make future changes easier (#11)
* Abstract layer around requests to make future changes easier
* Remove generic from CallContext
* Configuration (#12)
* Align configuration over modules
Make TokenService configurable
* Configuration should not be aware of which TokenService is being implemented
* Sparkjava implementation (#13)
* Scope handling (#14)
* Improve validating scopes
* Strip kotlin name of modules (#15)
* Strip kotlin name of modules
* json module (#16)
* Authorized grant types (#17)
* Update documentation
* Revokable tokens (#18)
* Release 0.2.0
Each of the methods that needs to be implemented contains `Client`. This could give you extra flexibility.
@@ -163,6 +231,8 @@ fun storeAccessToken(accessToken: AccessToken)
163
231
164
232
funaccessToken(token:String): AccessToken?
165
233
234
+
funrevokeAccessToken(token:String)
235
+
166
236
funstoreCodeToken(codeToken:CodeToken)
167
237
168
238
funcodeToken(token:String): CodeToken?
@@ -172,6 +242,9 @@ fun consumeCodeToken(token: String): CodeToken?
172
242
funstoreRefreshToken(refreshToken:RefreshToken)
173
243
174
244
funrefreshToken(token:String): RefreshToken?
245
+
246
+
funrevokeRefreshToken(token:String)
247
+
175
248
```
176
249
177
250
When `AccessToken` is passed to `storeAccessToken` and it contains a `RefreshToken`, then `storeAccessToken` is also responsible for saving the refresh token.
0 commit comments