mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
* conan example added * remove cmake overhead * Update conan-example/CMakeLists.txt change cmake version Co-authored-by: Chris Mc <prince.chrismc@gmail.com> Co-authored-by: Mehmet Ali Baykara <mehmetali.baykara@encoway.de> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
428 B
428 B
Conan example
In the current directory on Linux environment
mkdir build && cd build
conan install .. && cmake ..
cmake --build .
run executable
./bin/conan-example
the output:
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"