droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
JWTUtils.hpp
Go to the documentation of this file.
1/*
2 * (c) Copyright erarnitox.de - All rights reserved
3 * Author: Erarnitox <david@erarnitox.de>
4 *
5 * License: MIT License
6 *
7 * Description:
8 *
9 * Documentation: https://droplet.erarnitox.de/doxygen/html/
10 */
11
12#pragma once
13
14#include <Poco/JSON/Object.h>
15
16#include <string>
17
18//-----------------------------------------------------
19//
20//-----------------------------------------------------
21namespace JWTUtils {
22std::string generateToken(const Poco::JSON::Object& claims, const std::string& secret, const std::string& issuer);
23}
Definition JWTUtils.hpp:21
std::string generateToken(const Poco::JSON::Object &claims, const std::string &secret, const std::string &issuer)
Definition JWTUtils.cpp:24