Class sh::tools::accounts::FallbackAccountsProvider

class sh::tools::accounts::FallbackAccountsProvider : public sh::tools::accounts::AbstractAccountsProvider

A fallback accounts provider which at least stores user names (i.e. no passwords) locally on disk.

Public Functions

FallbackAccountsProvider()
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 Functions

QList<std::shared_ptr<Account>> _find_rem_account_helper(std::shared_ptr<Account> pattern, bool remove)

Private Members

QString accountsdir