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

Add getter for all the Payload's Claims #124

Merged
merged 1 commit into from
Dec 14, 2016
Merged

Add getter for all the Payload's Claims #124

merged 1 commit into from
Dec 14, 2016

Conversation

lbalmaceda
Copy link
Contributor

Add getter for the Claims defined in the JWT's Payload.

Map<String, Claim> claims = jwt.getClaims();
Claims claim = claims.get("user");

Fixes: #116

@hzalaz hzalaz added this to the 3.1.0 milestone Dec 14, 2016
@hzalaz hzalaz merged commit 8af46a2 into master Dec 14, 2016
@hzalaz hzalaz deleted the getter-claims-map branch December 14, 2016 20:25
@robrez
Copy link

robrez commented Dec 14, 2016

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants