generated from Sithas/conan_template
22 lines
350 B
C++
22 lines
350 B
C++
#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;
|
|
};
|
|
}
|