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

Check nbf and exp claims #21

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Check nbf and exp claims #21

merged 1 commit into from
Oct 27, 2021

Conversation

burrscurr
Copy link
Contributor

This commit adds support for the reserved nbf (not before) and exp (expires) claims. In addition to a valid signature, the current time to be within the range expressed in the nbf and exp claims. Both nbf and exp are optional: If omitted or assigned an invalid value, the lower or upper time boundary does not apply, respectively.

This PR closes #19.

This commit adds support for the reserved nbf (not before) and exp
(expires) claims. In addition to a valid signature, the current
time to be within the range expressed in the nbf and exp claims.
Both nbf and exp are optional: If omitted or assigned an invalid
value, the lower or upper time boundary does not apply, respectively.
@michelp
Copy link
Owner

michelp commented Oct 27, 2021

Thanks!

@michelp michelp merged commit e7b1128 into michelp:master Oct 27, 2021
@nounder
Copy link

nounder commented Oct 27, 2021

Thanks @burrscurr!

@burrscurr
Copy link
Contributor Author

Unfortunately my commit breaks the extension relocatability since try_cast_double is called without @extschema@ prefix. I propose a fix in #22.

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

Successfully merging this pull request may close these issues.

Support token expiration for verification
3 participants