feat(tgbot-back): Add functions for processing user authentication

This commit is contained in:
Kirill 2025-12-19 17:48:16 +03:00
parent d6194ec8be
commit f045eb22b2
6 changed files with 122 additions and 21 deletions

View file

@ -15,6 +15,8 @@
#include <cpprest/asyncrt_utils.h>
#include <boost/optional.hpp>
#include "AuthImpersonation.hpp"
using namespace org::openapitools::client::api;
class BotToServer {
@ -28,4 +30,6 @@ private:
std::shared_ptr<org::openapitools::client::api::ApiConfiguration> apiconfiguration;
std::shared_ptr<org::openapitools::client::api::ApiClient> apiclient;
std::shared_ptr<org::openapitools::client::api::DefaultApi> api;
nyanimed::AuthImpersonationClient authClient;
};