zoneminder/dep/jwt-cpp/example/conan
Isaac Connor 3934bdda9d Add other files that are new since 0.6.0 2023-06-10 08:34:36 -04:00
..
CMakeLists.txt Add other files that are new since 0.6.0 2023-06-10 08:34:36 -04:00
README.md Add other files that are new since 0.6.0 2023-06-10 08:34:36 -04:00
conanfile.txt Add other files that are new since 0.6.0 2023-06-10 08:34:36 -04:00
main.cpp Add other files that are new since 0.6.0 2023-06-10 08:34:36 -04:00

README.md

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"