mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-16 17:58:32 +00:00
Fix bug in splitter
This commit is contained in:
parent
9abac3c5d7
commit
f8947b53ac
3 changed files with 4 additions and 6 deletions
|
@ -41,7 +41,7 @@ void basic_jwt_object_test()
|
|||
obj3.secret("secret");
|
||||
obj3.header().algo("hs256");
|
||||
|
||||
std::cout << obj3.signature() << std::endl;
|
||||
auto dec_obj = jwt::jwt_decode(obj3.signature(), "secret");
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue