Add getter for all the Payload's Claims by lbalmaceda · Pull Request #124 · auth0/java-jwt · GitHub
Skip to content

Add getter for all the Payload's Claims#124

Merged
hzalaz merged 1 commit into
masterfrom
getter-claims-map
Dec 14, 2016
Merged

Add getter for all the Payload's Claims#124
hzalaz merged 1 commit into
masterfrom
getter-claims-map

Conversation

@lbalmaceda

Copy link
Copy Markdown
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

robrez commented Dec 14, 2016

Copy link
Copy Markdown

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