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

Extract claims to isolated and tested classes #605

Merged
merged 9 commits into from
Aug 4, 2024

Conversation

anakinj
Copy link
Member

@anakinj anakinj commented Jul 22, 2024

Description

This PR is a refactoring for the claims, extracting each claim into it's own class. No functional changes, this is to prepare doing changes to the verification logic in the next major release.

Also easier to write isolated tests for the separate validators and extending claims validation.

Checklist

Before the PR can be merged be sure the following are checked:

  • There are tests for the fix or feature added/changed
  • A description of the changes and a reference to the PR has been added to CHANGELOG.md. More details in the CONTRIBUTING.md

@anakinj anakinj changed the title Extract claims Extract claims to isolated and teststed classes Jul 22, 2024
@anakinj anakinj changed the title Extract claims to isolated and teststed classes Extract claims to isolated and tested classes Jul 22, 2024
@anakinj anakinj marked this pull request as ready for review August 1, 2024 19:41
@anakinj anakinj merged commit 74a2602 into jwt:main Aug 4, 2024
34 checks passed
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