MCPcopy Create free account
hub / github.com/3rdparty/libprocess / create

Method create

src/jwt.cpp:335–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334
335Try<JWT, JWTError> JWT::create(const JSON::Object& payload)
336{
337 const Header header{Alg::None, "JWT"};
338
339 return JWT(header, payload, None());
340}
341
342
343Try<JWT, JWTError> JWT::create(

Callers

nothing calls this directly

Calls 5

JWTClass · 0.85
generate_hmac_sha256Function · 0.85
JWTErrorClass · 0.85
sign_rsa_sha256Function · 0.85
getMethod · 0.45

Tested by

no test coverage detected