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 a proc to be passed for JTI verification #126

Merged
merged 1 commit into from
Feb 10, 2016
Merged

Conversation

yahooguntu
Copy link

Since verifying a JTI isn't part of the JWT specification, I added the ability to pass a proc to JWT.decode to determine if a JTI is valid. I also updated the readme to explain how this works and to explain how the current method of validation works.

See #110

@excpt
Copy link
Member

excpt commented Feb 10, 2016

Thanks! 🍻

excpt added a commit that referenced this pull request Feb 10, 2016
Allow a proc to be passed for JTI verification
@excpt excpt merged commit d4fca40 into jwt:master Feb 10, 2016
@excpt excpt added this to the Version 1.5.3 milestone Feb 10, 2016
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.

2 participants