Add Visione backend foundation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user