aboutsummaryrefslogtreecommitdiff
path: root/src/aoapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/aoapplication.cpp')
-rw-r--r--src/aoapplication.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/aoapplication.cpp b/src/aoapplication.cpp
index 490c60e..b3af79b 100644
--- a/src/aoapplication.cpp
+++ b/src/aoapplication.cpp
@@ -33,6 +33,13 @@ AOApplication::AOApplication(QObject *parent)
mus_decoder_config.pCustomBackendUserData = nullptr;
mus_decoder_config.customBackendCount = 2;
mus_decoder_config.ppCustomBackendVTables = mus_decoders;
+
+ connect(&this->auth, &AuthFlow::request_ready, this, [this](AuthRequest req){
+ send_ex_message(serializeAuthRequest(req));
+ });
+ connect(&this->auth, &AuthFlow::response_ready, this, [this](AuthResponse resp){
+ send_ex_message(serializeAuthResponse(resp));
+ });
}
AOApplication::~AOApplication()