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

#include <whoami.h>

Public Attributes

QString userId {}
 The user ID that owns the access token. More...
 
QString deviceId {}
 
std::optional< bool > isGuest {}
 

Detailed Description

Definition at line 45 of file whoami.h.

Member Data Documentation

◆ deviceId

QString Quotient::GetTokenOwnerJob::Response::deviceId {}

Device ID associated with the access token. If no device is associated with the access token (such as in the case of application services) then this field can be omitted. Otherwise this is required.

Definition at line 53 of file whoami.h.

◆ isGuest

std::optional<bool> Quotient::GetTokenOwnerJob::Response::isGuest {}

When true, the user is a Guest User. When not present or false, the user is presumed to be a non-guest user.

Definition at line 58 of file whoami.h.

◆ userId

QString Quotient::GetTokenOwnerJob::Response::userId {}

The user ID that owns the access token.

Definition at line 47 of file whoami.h.


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