libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
identity_server.h
Go to the documentation of this file.
1
// THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
2
3
#
pragma
once
4
5
#
include
<
Quotient
/
converters
.
h
>
6
7
namespace
Quotient
{
8
//! Used by clients to discover identity server information.
9
struct
QUOTIENT_API
IdentityServerInformation
{
10
//! The base URL for the identity server for client-server connections.
11
QUrl
baseUrl
;
12
};
13
14
template
<>
15
struct
JsonObjectConverter
<
IdentityServerInformation
> {
16
static
void
dumpTo
(
QJsonObject
&
jo
,
const
IdentityServerInformation
&
pod
)
17
{
18
addParam
(
jo
,
"base_url"_L1
,
pod
.
baseUrl
);
19
}
20
static
void
fillFrom
(
const
QJsonObject
&
jo
,
IdentityServerInformation
&
pod
)
21
{
22
fillFromJson
(
jo
.
value
(
"base_url"_L1
),
pod
.
baseUrl
);
23
}
24
};
25
26
}
// namespace Quotient
Quotient
Definition
accountregistry.h:13
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient::IdentityServerInformation
Used by clients to discover identity server information.
Definition
identity_server.h:9
Quotient
csapi
definitions
wellknown
identity_server.h
Generated by
1.9.8