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
//-----------------------------------------------------
21
namespace
JWTUtils
{
22
std::string
generateToken
(
const
Poco::JSON::Object& claims,
const
std::string& secret,
const
std::string& issuer);
23
}
JWTUtils
Definition
JWTUtils.hpp:21
JWTUtils::generateToken
std::string generateToken(const Poco::JSON::Object &claims, const std::string &secret, const std::string &issuer)
Definition
JWTUtils.cpp:24
src
bot_library
restapi
include
JWTUtils.hpp
Generated by
1.14.0