Add Visione backend foundation

This commit is contained in:
gabdevele
2026-06-02 19:22:00 +02:00 Unverified
commit 580789ac83
52 changed files with 5008 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "common/Auth.h"
#include <json/json.h>
namespace visione::services
{
class AuthService
{
public:
Json::Value registerCitizen(const Json::Value &body);
Json::Value requestOtp(const Json::Value &body);
Json::Value verifyOtp(const Json::Value &body);
Json::Value loginWithPassword(const Json::Value &body);
Json::Value currentUser(const auth::UserContext &user);
};
} // namespace visione::services