diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-07-01 00:56:09 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-07-01 00:56:09 -0400 |
commit | 4ac7ca9245016616bbc77acf8e989e41729e1afd (patch) | |
tree | 4e7fdf999bec15cb1f4c7783e76a4ac8d496e317 /src/remoteauth/remoteauthclient.hpp | |
parent | 3b206e11216b383fae0e860e0092f71301fd4425 (diff) | |
download | abaddon-portaudio-4ac7ca9245016616bbc77acf8e989e41729e1afd.tar.gz abaddon-portaudio-4ac7ca9245016616bbc77acf8e989e41729e1afd.zip |
finalize login
Diffstat (limited to 'src/remoteauth/remoteauthclient.hpp')
-rw-r--r-- | src/remoteauth/remoteauthclient.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/remoteauth/remoteauthclient.hpp b/src/remoteauth/remoteauthclient.hpp index 178e10a..8fb8bc3 100644 --- a/src/remoteauth/remoteauthclient.hpp +++ b/src/remoteauth/remoteauthclient.hpp @@ -22,6 +22,9 @@ private: void HandleGatewayNonceProof(const nlohmann::json &j); void HandleGatewayPendingRemoteInit(const nlohmann::json &j); void HandleGatewayPendingTicket(const nlohmann::json &j); + void HandleGatewayPendingLogin(const nlohmann::json &j); + + void OnRemoteAuthLoginResponse(const std::optional<std::string> &encrypted_token, DiscordError err); void Init(); @@ -57,8 +60,11 @@ private: public: using type_signal_fingerprint = sigc::signal<void(std::string)>; + using type_signal_token = sigc::signal<void(std::string)>; type_signal_fingerprint signal_fingerprint(); + type_signal_token signal_token(); private: type_signal_fingerprint m_signal_fingerprint; + type_signal_token m_signal_token; }; |