47 enum class LogInStateFlag {
49 RestoredPassword = 0x01,
54 ChangePasswordMode = 0x20
58 enum class WorkerError {
63 InvalidGssResponseSyntax,
64 AuthorizationConnetionFailed,
66 DatabaseConnectionFailed,
69 FailedToChangePassword
86 ot::Label* m_toggleChangePasswordModeLabel;
93 QString m_restoredPassword;
95 std::string m_databaseUrl;
96 std::string m_authorizationServiceUrl;
98 std::vector<LogInGSSEntry> m_gssData;
105 void slotLogIn(
void);
106 void slotRegister(
void);
107 void slotChangePassword(
void);
108 void slotCancel(
void);
109 void slotToggleLogInAndRegisterMode(
void);
110 void slotToggleChangePasswordMode(
void);
111 void slotGSSChanged(
void);
112 void slotPasswordChanged(
void);
114 void slotLogInSuccess(
void);
115 void slotRegisterSuccess(
void);
116 void slotChangePasswordSuccess(
void);
117 void slotWorkerError(WorkerError _error);
124 void saveUserSettings(
void)
const;
127 void initializeGssData(std::shared_ptr<QSettings> _settings);
128 void updateGssOptions(
void);
134 void stopWorkerWithError(WorkerError _error);
136 void loginWorkerStart(
void);
137 void registerWorkerStart(
void);
138 void changePasswordWorkerStart(
void);
139 WorkerError workerCheckVersionCompatibility(
void);
140 WorkerError workerConnectToGSS(
void);
143 WorkerError workerChangePassword(
const UserManagement& _userManager);
Definition LogInGSSEntry.h:11