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

Allow to retrieve list of claims #231

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Conversation

Ka0o0
Copy link
Contributor

@Ka0o0 Ka0o0 commented May 19, 2022

Currently, it is not possible to iterate over the list of claims of a JWK. With this commit, the JWK gains a new method that exposes the underlying claims so that the callee can do some processing with it. This might be useful, if someone wants to copy all claims to a new object.

Currently, it is not possible to iterate over the list of claims of a JWK. With this commit, the JWK gains a new method that exposes the underlying claims so that the callee can do some processing with it. This might be useful, if someone wants to copy all claims to a new object.
@prince-chrismc
Copy link
Collaborator

Would it be possible to add a test case please? 🙏

@prince-chrismc
Copy link
Collaborator

Just a note to myself this is how its done for JWT payload and header claims

@prince-chrismc
Copy link
Collaborator

The method has previously been untested for other components 🙈

@prince-chrismc prince-chrismc merged commit 9f36be9 into Thalhammer:master Jun 13, 2022
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