aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/wellknown/identity_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/wellknown/identity_server.h')
-rw-r--r--lib/csapi/definitions/wellknown/identity_server.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/csapi/definitions/wellknown/identity_server.h b/lib/csapi/definitions/wellknown/identity_server.h
index b4304ef7..d272e527 100644
--- a/lib/csapi/definitions/wellknown/identity_server.h
+++ b/lib/csapi/definitions/wellknown/identity_server.h
@@ -6,21 +6,18 @@
#include "converters.h"
-namespace Quotient
-{
+namespace Quotient {
// Data structures
/// Used by clients to discover identity server information.
-struct IdentityServerInformation
-{
+struct IdentityServerInformation {
/// The base URL for the identity server for client-server connections.
QString baseUrl;
};
template <>
-struct JsonObjectConverter<IdentityServerInformation>
-{
+struct JsonObjectConverter<IdentityServerInformation> {
static void dumpTo(QJsonObject& jo, const IdentityServerInformation& pod);
static void fillFrom(const QJsonObject& jo, IdentityServerInformation& pod);
};