From 123d58fc3c29d8e9adbb5b654df53d5cbb0a32fa Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 26 Mar 2020 19:14:34 +0100 Subject: SsoSession and Connection::prepareForSso() Final part of #388 backport. --- lib/connection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/connection.h') diff --git a/lib/connection.h b/lib/connection.h index 782ffd2c..33f9bfba 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -19,6 +19,7 @@ #pragma once #include "csapi/login.h" +#include "ssosession.h" #include "csapi/create_room.h" #include "joinstate.h" #include "events/accountdataevents.h" @@ -415,6 +416,9 @@ namespace QMatrixClient std::forward(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 */ -- cgit v1.2.3