This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
v1.0.9
- fix (logout): reset payload after logout 3b99414
- fix (authenticate): update readme to document access to payload a2049c5
- feat (authenticate): allow access to payload from guard 823cf95
- fix (authenticate): multiple fixes to improve security and code style
- remove custom check of JWT
- check if the JWT is valid using the private key BEFORE hitting the database
- make functions pure, store changed state after everything has been checked
- added payload type in JWTLoginOptions 967c517
- fix (guard): check() uses wrong exception type 8ecb493