SceneEndpoint.h
1 #pragma once
2 
3 #include "stormancer/BuildConfig.h"
4 
5 
6 #include "stormancer/ConnectionData.h"
7 
8 namespace Stormancer
9 {
11  {
12  std::string algorithm = "aes256";
13  std::string mode = "GCM";
14  std::string key;
15  std::string token;
16  };
17 
19  {
20  std::string token;
21  std::unordered_map<std::string, std::vector<std::string>> endpoints;
22  EncryptionConfiguration encryption;
23  };
24 
25 
28  {
29  public:
30  SceneEndpoint();
31  SceneEndpoint(const std::string& token, const ConnectionData& tokenData);
32  virtual ~SceneEndpoint();
33 
34  public:
35  std::string token;
36  int version = 1;
37  ConnectionData tokenData;
38  GetConnectionTokenResponse getTokenResponse;
39  };
40 }
Connection informations to send to the server.
Definition: ConnectionData.h:14
Informations to connect to a scene.
Definition: SceneEndpoint.h:27
Definition: SceneEndpoint.h:10
Definition: SceneEndpoint.h:18