Files
jwt-cpp/include
Ilya Andreev a1ac7a0735 Add set_expires_in and set_issued_now methods (#322)
* Add set_expires_in and set_issued_now methods

* Add a Clock type parameter for builder

* set_expires_in method sets exp from the current moment

* Update default traits with the new builder interface

* Add VerifyTokenExpirationInValid for all traits

* Use the new methods in examples

* Add create method to specify the clock type

* Use JWT_CLAIM_EXPLICIT for explicit constructors

* Fix builder factory method in mustache file

* fixup whitespace

* default template was missing a few args

* fix whitespace

* linter

---------

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
2023-12-30 10:29:51 -05:00
..