Changeset View
Changeset View
Standalone View
Standalone View
src/client/client-model.hpp
| Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | namespace Kazv | ||||
| struct TokenLoginAction | struct TokenLoginAction | ||||
| { | { | ||||
| std::string serverUrl; | std::string serverUrl; | ||||
| std::string username; | std::string username; | ||||
| std::string token; | std::string token; | ||||
| std::string deviceId; | std::string deviceId; | ||||
| }; | }; | ||||
| /** | |||||
| * Login using the m.token.login flow. | |||||
| */ | |||||
| struct MLoginTokenLoginAction | |||||
| { | |||||
| std::string serverUrl; | |||||
| std::string loginToken; | |||||
| std::optional<std::string> deviceName; | |||||
| }; | |||||
| struct LogoutAction {}; | struct LogoutAction {}; | ||||
| struct HardLogoutAction {}; | struct HardLogoutAction {}; | ||||
| struct GetWellknownAction | struct GetWellknownAction | ||||
| { | { | ||||
| std::string userId; | std::string userId; | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 447 Lines • Show Last 20 Lines | |||||