Class sh::tools::accounts::AbstractAccountsProvider

class sh::tools::accounts::AbstractAccountsProvider

Abstract base class for accounts provider.

Implement this class (and register an instance of it) in order to add support for something like a password/account manager.

Subclassed by sh::tools::accounts::FallbackAccountsProvider, sh::tools::accounts::LibsecretAccountsProvider

Public Functions

AbstractAccountsProvider()
~AbstractAccountsProvider()
void findAccounts(std::shared_ptr<Account> pattern, QList<std::shared_ptr<Account>> &result) = 0

Finds account info by a given pattern.

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

Stores account infos.