mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #768, authentication component improved
* access to user object * show database name in UI * init UI with user object at startup
This commit is contained in:
@@ -39,6 +39,12 @@ namespace BlackCore
|
||||
//! Shutdown
|
||||
void gracefulShutdown();
|
||||
|
||||
//! DB user
|
||||
BlackMisc::Network::CAuthenticatedUser getDbUser() const;
|
||||
|
||||
//! User authenticated
|
||||
bool isUserAuthenticated() const;
|
||||
|
||||
public slots:
|
||||
//! Try to login to authentication web service
|
||||
BlackMisc::CStatusMessageList login(const QString &id, const QString &password);
|
||||
|
||||
Reference in New Issue
Block a user