-
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(jwt): Added revoked token handler support #3960
Conversation
@all-contributors please add @oek1ng for code contributions |
I've put up a pull request to add @oek1ng! 🎉 |
…er authentication
@oek1ng Thanks for the change. I'll merge once the linting and tests are passing. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3960 +/- ##
==========================================
- Coverage 98.34% 98.34% -0.01%
==========================================
Files 347 347
Lines 15743 15755 +12
Branches 1740 1741 +1
==========================================
+ Hits 15483 15494 +11
- Misses 124 126 +2
+ Partials 136 135 -1 ☔ View full report in Codecov by Sentry. |
forgot to add type ignore in test, fixed in previous commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change. It LGTM
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3960 |
Description
Added support for
revoked_token_handler
on same level withretrieve_user_handler
,thought about JWTManager like in
flask-jwt-extended
, but my solution, i think looks cleaner.Closes
#2118