Files
jwt-cpp/example/conan
Chris Mc cba92ab173 🔭 Allow generic access to JWT header and payload (#251)
* boost print header claims

* type

* update other example

* lint

* update example

* update example

* update examples

* tidy

* renaming to clarity

* delete old check in traits

* return underlying type
2022-10-02 08:47:10 +02:00
..
2021-01-11 17:37:14 -05:00
2022-04-06 08:07:28 -07:00
2021-01-11 17:37:14 -05:00

Conan example

In the current directory on Linux environment

mkdir build && cd build
conan install .. && cmake .. 
cmake --build .

run executable

$ ./bin/conan-example
sub = "jrocket@example.com"
iss = "Online JWT Builder"
exp = 1641559177
aud = "www.example.com"
Surname = "Rocket"
Role = ["Manager","Project Administrator"]
iat = 1610023177
GivenName = "Johnny"
Email = "jrocket@example.com"