mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: add helper function to check cloud credentials
This should do the right thing in the various situations of correct & verified credentials, credentials needing PIN verification, invalid email/password combination, incorrect PIN, correct PIN. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6ab4105211
commit
d717b9d2a7
2 changed files with 45 additions and 0 deletions
|
@ -148,6 +148,7 @@ public slots:
|
|||
void appInitialized();
|
||||
void applicationStateChanged(Qt::ApplicationState state);
|
||||
void saveCloudCredentials();
|
||||
bool verifyCredentials(QString email, QString password, QString pin);
|
||||
void tryRetrieveDataFromBackend();
|
||||
void handleError(QNetworkReply::NetworkError nError);
|
||||
void handleSslErrors(const QList<QSslError> &errors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue