Commit Graph

11 Commits

Author SHA1 Message Date
Chris Mc
ca110ade5b 🔧 Improved CMake options and macros to prevent collisions (#109)
* exclude any folder prefixed with build

* seeing how far generator expresstion will go

* refactor cmake + outline some tests

* adding missing install destiniation

* rolling back some changes since the workflow was no support by CMake

* adding missing include

* fixing old variable names being used

* using target_compile_definitions instead of options

* correct options for CI + reporting errors for consumer

* using sudo to install

* fix bad variable

* trying CMAKE_PREFIX_PATH

* removing recursive call

* remove options from generators + dedicated exports target

* remove pthread link lib (unused)

* install targets files + include

* add missing main

* remove install prefix

* revive CMAKE_PREFIX_PATH it's really needed

* fix collision on DISABLE_BASE64 + more cmake tests

* bump cmake version + test minimum

* fix job names

* fix bad replace

* fix bad permissions

* fix install of picojson

* adding missing ifndef and overload for pico and no base64

* linting

* test for version

* trying to find version

* [test] remove semver prerelase from CMake

* fixing some documentation issues

* limit cmake test to only related files

* touch up docs

* making sure new helper supports no base64 mode

* some doc fixes

* Update cmake.yml

* Update .github/workflows/cmake.yml

* Update .gitignore
2020-11-29 15:56:53 +01:00
Chris Mc
149af7a2c5 Test token expiration handling with nlohmann/json traits (#104)
Correctly handle unsigned integers provided by nlohmann/json.
closes 103

Co-authored-by: Dominik Thalhammer <dominik@thalhammer.it>
2020-10-26 08:52:38 +01:00
Chris Mc
dde742cca3 adding example for working with private claims (#88)
* adding example for working with private claims

* adding nlohmann `set_payload_claim` example to constrast picojson

to highlight the problems in #87
2020-07-20 23:28:45 +02:00
Dominik Thalhammer
312cb9d74c Allow building examples as subproject and build them by default (#84) 2020-07-16 11:45:59 +02:00
Chris Mc
a0f51e74df 🖊️ improving examples 2020-07-07 23:40:40 -04:00
Chris Mc
b93bdcf60b correcting decoded_jwt + builder api breaks
- decoded_jwt to expose get_payload_claims() and get_header_claims()
- builder set expires, not_before and issued correctly pass date as an arg
2020-07-01 17:33:42 -04:00
Chris Mc
0e6d47277a improve rsa verify with output 2020-07-01 15:34:39 -04:00
Chris Mc
309ff66826 adding verification example
addess issue flagged in #41
2020-07-01 15:26:00 -04:00
Chris Mc
2af994251a compiling example with travis 2020-07-01 15:12:56 -04:00
Christopher McArthur
9a197a445e correctly cofiguring config.in to be usable with deps 2020-01-20 22:10:14 -05:00
Christopher McArthur
f110d8d01f prototype for FindPackage install 2020-01-19 22:08:17 -05:00