54 lines
1.1 KiB
C++
54 lines
1.1 KiB
C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// GENERATED CODE - do not edit (Generated by ddkit/genModelMsg)
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Auth.hpp (rmodel-msg)
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <tmsif/type/Auth.hpp>
|
|
#include <tmsif/tmsif_export.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace M_Auth {
|
|
|
|
|
|
//
|
|
// Service
|
|
//
|
|
|
|
/// Auth service interface.
|
|
/// Contains operations that a client can command the auth service to perform.
|
|
class TMSIF_EXPORT IService {
|
|
|
|
public:
|
|
virtual ~IService();
|
|
virtual void CmdLogoutUser(std::string const& KeyUserId);
|
|
};
|
|
|
|
|
|
//
|
|
// Client
|
|
//
|
|
|
|
/// Auth client interface.
|
|
/// Contains callback operations from the auth service to the client.
|
|
class TMSIF_EXPORT IClient {
|
|
|
|
public:
|
|
virtual ~IClient();
|
|
virtual void EventLogin(std::string const& KeyUserId, M_Auth::LoginEventType const& LoginEvent);
|
|
virtual void ReportAuthStatus(std::string const& KeyUserId, M_Auth::AuthStatusType const& Status, bool IsRemoved);
|
|
};
|
|
|
|
|
|
} // namespace M_Auth
|
|
|
|
|