Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed Dec 24, 2023
1 parent cca8b30 commit 494b5af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/jwks-verify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ ARS9Ln8Wh5RsFuw/Y7Grg8FsoAVzV/Pns4cwjZG75ezXfk4UVpr4oO4B5jzazzCR
// https://stackoverflow.com/a/30138974
unsigned char nonce[24];
RAND_bytes(nonce, sizeof(nonce));
std::string jti = jwt::base::encode<jwt::alphabet::base64url>(std::string{reinterpret_cast<const char*>(nonce), sizeof(nonce)});
std::string jti =
jwt::base::encode<jwt::alphabet::base64url>(std::string{reinterpret_cast<const char*>(nonce), sizeof(nonce)});

std::string token = jwt::create()
.set_issuer("auth0")
Expand Down

0 comments on commit 494b5af

Please sign in to comment.