This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
passport (source) | dependencies | minor | ^0.4.1 -> ^0.6.0 |
v0.6.0
authenticate()
, req#login
, and req#logout
accept a
keepSessionInfo: true
option to keep session information after regenerating
the session.req#login()
and req#logout()
regenerate the the session and clear session
information by default.req#logout()
is now an asynchronous function and requires a callback
function as the last argument.v0.5.3
initialize()
middleware extends request with login()
, logIn()
,
logout()
, logOut()
, isAuthenticated()
, and isUnauthenticated()
functions
again, reverting change from 0.5.1.v0.5.2
passport@0.4.x
or earlier (such as passport-azure-ad
), which were
broken by the removal of private variables in passport@0.5.1
.v0.5.1
authenticate()
middleware, rather than initialize()
middleware, extends
request with login()
, logIn()
, logout()
, logOut()
, isAuthenticated()
,
and isUnauthenticated()
functions.v0.5.0
initialize()
middleware extends request with login()
, logIn()
,
logout()
, logOut()
, isAuthenticated()
, and isUnauthenticated()
functions.login()
, logIn()
, logout()
, logOut()
, isAuthenticated()
, and
isUnauthenticated()
functions no longer added to http.IncomingMessage.prototype
.userProperty
option to initialize()
middleware only affects the current
request, rather than all requests processed via singleton Passport instance,
eliminating a race condition in situations where initialize()
middleware is
used multiple times in an application with userProperty
set to different
values.This MR has been generated by Renovate Bot.