Skip to content
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

Convience methods #21

Merged
merged 10 commits into from
Oct 6, 2023
Merged

Convience methods #21

merged 10 commits into from
Oct 6, 2023

Conversation

guillp
Copy link
Owner

@guillp guillp commented Sep 26, 2023

For convenience:

  • validate token signature inline with SignedJwt.verify()$
  • InvalidSignature exception now contains the JWT, key and alg(s) that where attempted
  • handle creating and validating nested signed-then-encrypted JWT with SignedJwt.encrypt() and JweCompact.decrypt_jwt()

@guillp guillp changed the title Signed jwt.encrypt() Convience methods Sep 26, 2023
@guillp guillp merged commit ecd2aac into main Oct 6, 2023
6 checks passed
@guillp guillp deleted the SignedJwt.encrypt() branch October 6, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants