updated and added namespaces
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-04-18 16:43:57 +07:00
1 parent 886f0aed59
commit a06da5a6d4
18 files changed
+698 -641

No files matched your search

+7 -2
View File
@@ -1,6 +1,10 @@
#ifndef INCLUDES_HPP
#define INCLUDES_HPP
namespace AuthService
{
namespace Includes
{
#define JWT_SECRET_KEY "secret"
#define STRING403 R"({"status":"403"})"
#define JSON_TYPE "application/json"
@@ -11,6 +15,7 @@
#define CHANGE_USER_REQUIRED_STRING R"({"required":"[token] or if you superuser [token,userid]","optional":"[username,password,is_superuser,group]"})"
#define DELETE_USER_REQUIRED_STRING R"({"required":"[token] or if you superuser [token,userid]"})"
#define USERS_FILE "users.json"
static std::mutex usersfilemutex;
static std::mutex usersfilemutex;
}
}
#endif // INCLUDES_HPP