-
Notifications
You must be signed in to change notification settings - Fork 921
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
Make DecodedJWT serializable #366
Comments
Hi @skjolber, I think this is a reasonable request and use case; we will look into adding serialization support to DecodedJWT. |
@jimmyjames thanks, the PR looks good to me. |
Fixed by #370, available in version 3.9.0. |
Hi all, Thanks a lot for this fix @jimmyjames! I was wondering if it's possible to mark the This would be nice as the Thanks in advance! |
Description
I was about to pass the DecodedJWT to a subclass of the Serializable Spring Authentication (via AbstractAuthenticationToken), but then noticed it is not serializable.
Making DecodedJWT implement serializable would be helpful.
Reproduction
The storage field must be marked as transient to pass code quality checks.
Environment
Latest version.
The text was updated successfully, but these errors were encountered: