libQuotient
A Qt library for building matrix clients
Quotient::ClaimKeysJob::Response Struct Reference

#include <keys.h>

Public Attributes

QHash< QString, QJsonObject > failures {}
 
QHash< UserId, QHash< QString, OneTimeKeys > > oneTimeKeys {}
 

Detailed Description

Definition at line 257 of file keys.h.

Member Data Documentation

◆ failures

QHash<QString, QJsonObject> Quotient::ClaimKeysJob::Response::failures {}

If any remote homeservers could not be reached, they are recorded here. The names of the properties are the names of the unreachable servers.

If the homeserver could be reached, but the user or device was unknown, no failure is recorded. Instead, the corresponding user or device is missing from the one_time_keys result.

Definition at line 265 of file keys.h.

◆ oneTimeKeys

QHash<UserId, QHash<QString, OneTimeKeys> > Quotient::ClaimKeysJob::Response::oneTimeKeys {}

One-time keys for the queried devices. A map from user ID, to a map from devices to a map from <algorithm>:<key_id> to the key object.

See the key algorithms section for information on the Key Object format.

If necessary, the claimed key might be a fallback key. Fallback keys are re-used by the server until replaced by the device.

Definition at line 275 of file keys.h.


The documentation for this struct was generated from the following file: