generated from Sithas/conan_template
DAO - Полное завершение класса
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#include "../entities/User.h"
|
||||
|
||||
namespace uad
|
||||
{
|
||||
class IAuthDAO
|
||||
{
|
||||
public:
|
||||
virtual std::string Login(const std::string& registrated_user_uuid) = 0;
|
||||
|
||||
virtual bool HasAuthorizedUser(const std::string& auth_token) = 0;
|
||||
|
||||
virtual bool Logout(const std::string& user_token) = 0;
|
||||
|
||||
virtual ~IAuthDAO() = default;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user