20 lines
445 B
C++
20 lines
445 B
C++
#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
|
|
|