mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-23 21:19:16 +00:00
Updated tests and README for RFC Fixes
This commit is contained in:
parent
9624da5e59
commit
92cac1ecbd
12 changed files with 123 additions and 123 deletions
examples
|
@ -6,7 +6,7 @@
|
|||
int main() {
|
||||
using namespace jwt::params;
|
||||
|
||||
jwt::jwt_object obj{algorithm("hs256"), secret("secret"), payload({{"user", "admin"}})};
|
||||
jwt::jwt_object obj{algorithm("HS256"), secret("secret"), payload({{"user", "admin"}})};
|
||||
|
||||
//Use add_claim API to add claim values which are
|
||||
// _not_ strings.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue