Releases: badgateway/oauth2-client
Releases · badgateway/oauth2-client
v1.0.0
v0.7.0
- Ensure that only 1 refresh operation will happen in parallel. If there are
multiple things triggering the refresh, all will wait for the first one
to finish. - Automatically schedule a refresh operation 1 minute before the access token
expires, if the expiry time is known. - BC Break: If a token is known when setting up OAuth2, this now needs to be
passed as the second argument. The old behavior still works but will emit
a warning, and will be removed in a future release. - 'OAuth2Token' type is now exported.
v0.6.1
v0.6.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
- Library is refactored and now uses a class.
- Support for
authorization_code
grant type. - Exposing some more information to uses.
- Add a new
onTokenUpdate
hook for custom storage. - It's now possible to construct a client with an existing (old) Access and/or
refresh token.