Files
jwt-cpp/example/conan
Carlos e0f89e042d Update Conan Example (#222)
* bump version in conan example

* use latest picojson version
2022-04-06 08:07:28 -07: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
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"