mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-20 11:48:34 +00:00
jwt_object design
This commit is contained in:
parent
81e6b2392e
commit
cb925fee3a
6 changed files with 372 additions and 0 deletions
include/jwt/test
16
include/jwt/test/test_jwt_object.cc
Normal file
16
include/jwt/test/test_jwt_object.cc
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <iostream>
|
||||
#include "jwt/jwt.hpp"
|
||||
|
||||
void basic_jwt_object_test()
|
||||
{
|
||||
using namespace jwt::params;
|
||||
jwt::jwt_object obj(payload({
|
||||
{"a", "b"},
|
||||
{"c", "d"}
|
||||
}));
|
||||
}
|
||||
|
||||
int main() {
|
||||
basic_jwt_object_test();
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue