Class sh::tools::accounts::LibsecretAccountsProvider

class sh::tools::accounts::LibsecretAccountsProvider : public sh::tools::accounts::AbstractAccountsProvider

An accounts provider based on gnome-keyring.

Public Functions

LibsecretAccountsProvider()
void findAccounts(std::shared_ptr<Account> pattern, QList<std::shared_ptr<Account>> &result)

Finds account info by a given pattern.

bool storeAccount(std::shared_ptr<Account> account)

Stores account infos.

Public Static Functions

void doInitialize()
void doShutdown()

Private Members

QByteArray sauthtype = QString("authtype").toUtf8()
QByteArray sdomain = QString("domain").toUtf8()
QByteArray spath = QString("object").toUtf8()
QByteArray sprotocol = QString("protocol").toUtf8()
QByteArray sserver = QString("server").toUtf8()
QByteArray sserverport = QString("port").toUtf8()
QByteArray susername = QString("user").toUtf8()