passport-oauth2-refresh
Advanced tools
Changelog
[2.2.0] - 2023-04-15
AuthTokenRefresh
. This is a
constructor that can be invoked to create a distinct instance, for
applications that require more than one Passport instance.Changelog
[2.1.0] - 2021-06-29
setRefreshOAuth2
option to customise the OAuth2 adapter that is used to refresh the access token.Changelog
[1.1.0] - 2018-06-06
getOAuthAccessToken
function, for example the Reddit or Spotify strategy. #10Changelog
[1.0.0] - 2015-12-17
_oauth2
constructor to create new OAuth2 instance, to support instances where the _oauth2
object is using a custom implementation.oauth2
library, in favour of using the _oauth2
object exposed by passport.The move from 0.4 to 1.0 is non-breaking, unless you are using a version of node.js lower than 0.10. In this case, you should stick to using 0.4. Otherwise, you can safely upgrade with no code changes required.
Changelog
[0.4.0] - 2015-04-01
refresh.use(name, strategy)
.Changelog
[0.3.1] - 2015-03-06