Files
jwt-cpp/example/conan
Chris Mc b21d80c22e 🧰 Linting and maintenance (#120)
* some manual fixes to obtain

* fairly close enough

* whitespace fixes

* add comment

* adding clang format + applied

* add editorconfig (supported natively by github web editor)

* apply linting to project

* clean up CI workflows

* zap vcpkg folder

actual one is here
https://github.com/microsoft/vcpkg/tree/master/ports/jwt-cpp

* adding a logo

* thin the lines in the pluses

* use logo + more links to spec and examples

* Create lint.yml

* apply linting
2021-01-11 17:37:14 -05:00
..
2021-01-11 17:37:14 -05:00
2021-01-11 17:37:14 -05: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"