passport-api-docs
passport-api-docs copied to clipboard
Documentation for Passport.js.
Results
2
passport-api-docs issues
Sort by
recently updated
recently updated
newest added
`req.logout` now requires a callback, which accepts an `err` argument. example: ```js req.logout((err) => { if (err) return next(err); return res.json({ message: 'Logout successful', }); }); ```
Towards the end it is written that "...must implement the `SessionStrategy` class". I think it should be `Strategy` class. Also the definition of `isAuthenticated` method os missing.