X Tutup
Skip to content

Add getter for all the Payload's Claims#124

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

Add getter for all the Payload's Claims#124
hzalaz merged 1 commit intomasterfrom
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
Copy link
Copy Markdown

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

X Tutup