MCPcopy Create free account
hub / github.com/arun11299/cpp-jwt / encode

Method encode

include/jwt/jwt.hpp:734–737  ·  view source on GitHub ↗

* Encodes the payload as URL safe Base64 encoded * string. */

Source from the content-addressed store, hash-verified

732 * string.
733 */
734 std::string encode(bool pprint = false)
735 {
736 return base64_encode(pprint);
737 }
738
739 /**
740 * Decodes an encoded string and overwrites the payload

Callers

nothing calls this directly

Calls 1

base64_encodeFunction · 0.85

Tested by

no test coverage detected