12#include <nlohmann/json.hpp>
18 using json = nlohmann::json;
static json verifyJWTToken(const std::string &token, const std::string &secretKey)
Verify if given token is valid and was created by us.
Definition jwt.cpp:106
static json createJWTToken(const json &claims_params, const std::string &secretKey)
Generate a JWT token having some custom claims.
Definition jwt.cpp:16
Wrapper around spdlog's functionality.
nlohmann::json json
Definition mantis.h:35
router.h
Definition app.h:30
nlohmann::json json
Shorten JSON namespace.
Definition crud.h:14