Support for JWK-based verification has long been added to the library but under a non-standardized type - i.e. JsonWebKey. This PR solves this issue by making the already implemented method spec-compliant by changing the method's type to JsonWebKey2020 and deprecating the previous type.
Links to any relevant issues
Closes #1366
Type of change
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] Enhancement (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix
How the change has been tested
Describe the tests that you ran to verify your changes.
Ran linter and all tests.
Change checklist
[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description of change
Support for JWK-based verification has long been added to the library but under a non-standardized type - i.e.
JsonWebKey
. This PR solves this issue by making the already implemented method spec-compliant by changing the method's type toJsonWebKey2020
and deprecating the previous type.Links to any relevant issues
Closes #1366
Type of change
How the change has been tested
Describe the tests that you ran to verify your changes. Ran linter and all tests.
Change checklist