-
Notifications
You must be signed in to change notification settings - Fork 925
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
Get all claims [3.0.1] #116
Comments
I have noticed that too,I need this feature.Will it be available ? |
I have an API gateway that gets a token from an upstream service writes it
to a database and returns a token identifier to the consumer (instead of
the token itself).
It also acts as the refresh token issuer. The code that exchanges a refresh
token for a new access token reads the old access token, copies all claims
to the new token except for iat and exp.
I think that, in general, since the older versions of the library returned
a Map, a lot of people may have been using things you can do with a map..
like enumeration.
…On Fri, Dec 9, 2016, 8:24 AM Hernan Zalazar ***@***.***> wrote:
@robrez <https://github.com/robrez>, @XtreZz <https://github.com/XtreZz>
what's the use case for getting all claims from a collection when you can
do it from the object that is returned after decode/verify?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB5qrVQ3UR1m54n8BaxeQT88U-EaZX6-ks5rGWSsgaJpZM4LIdA1>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was just upgrading from 2.2.1 and I can no longer find a way to get all claims... I see a signature to get a claim by name, but not one to get either the keyset or entire entryset... Did I miss something?
The text was updated successfully, but these errors were encountered: