aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-18 09:51:27 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-18 09:51:27 +0100
commitab3d0263b770e30de673c63740a5c26bcbf33e58 (patch)
treeee379ad12c459d16de2e29aff8721a61e437bc7a /lib/connection.h
parentd02a510a586db1a89476cd283ea24a281e9bb6af (diff)
downloadlibquotient-ab3d0263b770e30de673c63740a5c26bcbf33e58.tar.gz
libquotient-ab3d0263b770e30de673c63740a5c26bcbf33e58.zip
SsoSession and Connection::prepareForSso()
The response in the web browser is quite barebone, just enough to give feedback that things are alright. Closes #386. Closes #388.
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 8f2abd0f..9b222ca8 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -18,6 +18,7 @@
#pragma once
+#include "ssosession.h"
#include "joinstate.h"
#include "qt_connection_util.h"
@@ -467,6 +468,9 @@ public:
std::forward<JobArgTs>(jobArgs)...);
}
+ Q_INVOKABLE SsoSession* prepareForSso(const QString& initialDeviceName,
+ const QString& deviceId = {});
+
/** Generate a new transaction id. Transaction id's are unique within
* a single Connection object
*/