* 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>
* update tests to run jsoncpp
* fix order for type checking
Co-authored-by: cjserio <cjserio@users.noreply.github.com>
* linter should be more specific on on default for trait
* fix linter
* output folder name
* use filepath for linter processing
---------
Co-authored-by: cjserio <cjserio@users.noreply.github.com>
* Implemented JsonCPP Traits
* quick pass to add CI
* correct find_packge to use config and not be required
* typo in default version
* jsoncpp forces out of source builds
* disable tests and shared library
* add missing build step
* try a different target + build less
"they" do not maintain the CMake scripts so this will be fun https://github.com/open-source-parsers/jsoncpp/issues/455#issuecomment-478251641
* fix name for traits (missed replaces)
* Added missing array_type constructor so that basic_claims can be formed from sets of values
* Linters and more tests + fetchcontent gtest
* linter
* support library names with many separators
* linters
* run clang format after rendering defaults
---------
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>