aboutsummaryrefslogtreecommitdiff
path: root/lib/identity/definitions/sid.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:42:13 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-04-17 07:49:41 +0200
commit7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424 (patch)
treefa9e37d8874303bf56d5381b0844738bd516a79b /lib/identity/definitions/sid.h
parent906699cc525e9e0be231a58cabffc31ad1f5193c (diff)
downloadlibquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.tar.gz
libquotient-7036ed0dcb137cb5cbb6b426dd338c5e2e4c6424.zip
Regenerate API files using new GTAD and refreshed templates
No functional changes.
Diffstat (limited to 'lib/identity/definitions/sid.h')
-rw-r--r--lib/identity/definitions/sid.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/identity/definitions/sid.h b/lib/identity/definitions/sid.h
index 0f7ce58a..981826f6 100644
--- a/lib/identity/definitions/sid.h
+++ b/lib/identity/definitions/sid.h
@@ -6,23 +6,20 @@
#include "converters.h"
-namespace Quotient
-{
+namespace Quotient {
// Data structures
-struct Sid
-{
- /// The session ID. Session IDs are opaque strings generated by the
- /// identityserver. They must consist entirely of the
- /// characters``[0-9a-zA-Z.=_-]``. Their length must not exceed 255
- /// characters and theymust not be empty.
+struct Sid {
+ /// The session ID. Session IDs are opaque strings generated by the identity
+ /// server. They must consist entirely of the characters
+ /// ``[0-9a-zA-Z.=_-]``. Their length must not exceed 255 characters and
+ /// they must not be empty.
QString sid;
};
template <>
-struct JsonObjectConverter<Sid>
-{
+struct JsonObjectConverter<Sid> {
static void dumpTo(QJsonObject& jo, const Sid& pod);
static void fillFrom(const QJsonObject& jo, Sid& pod);
};