summaryrefslogtreecommitdiffstats
path: root/libsettings/include
diff options
context:
space:
mode:
Diffstat (limited to 'libsettings/include')
-rw-r--r--libsettings/include/keyring.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsettings/include/keyring.h b/libsettings/include/keyring.h
index 5774e287..299b14b0 100644
--- a/libsettings/include/keyring.h
+++ b/libsettings/include/keyring.h
@@ -72,6 +72,14 @@ public:
*/
virtual QStringList getStoredAccounts(QString service) = 0;
+ /**
+ * @brief Remove the specified account from storage
+ * @param service the service name
+ * @param username the account name
+ * @return
+ */
+ virtual void removeStoredAccount(QString service, QString username) = 0;
+
protected:
/// fall back to StubKeyring if false
virtual bool isValid() { return false; }