Updated tests and README for RFC Fixes

This commit is contained in:
Andrew Wiik 2020-01-16 00:56:41 -05:00
parent 9624da5e59
commit 92cac1ecbd
12 changed files with 123 additions and 123 deletions

View file

@ -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.