mtx::responses::Login struct

Response from the POST /_matrix/client/r0/login endpoint.

Public variables

mtx::identifiers::User user_id
The fully-qualified Matrix ID that has been registered.
std::string access_token
An access token for the account. This access token can then be used to authorize other requests.
std::string device_id
ID of the logged-in device. Will be the same as the corresponding parameter in the request, if one was specified.
std::optional<WellKnown> well_known
Optional client configuration provided by the server. If present, clients SHOULD use the provided object to reconfigure themselves, optionally validating the URLs within.