60        const std::string& 
getName() const noexcept;
 
   94        bool remove(const std::
string& name) noexcept;
 
  110        mutable std::mutex m_mutex;
 
  112        std::unique_ptr<
Database::SqliteDatabase> m_database;
 
 
A model of a credential stored in a keyring.
Definition credential.h:34
 
const std::string & getName() const noexcept
Gets the name of the keyring.
 
bool update(const Credential &credential) noexcept
Updates a credential in the keyring.
 
std::optional< Credential > get(const std::string &name) noexcept
Gets the credential matching the provided name.
 
Keyring(const Keyring &)=delete
 
Keyring(const std::string &name)
Constructs a Keyring.
 
const std::vector< Credential > & getAll() const noexcept
Gets all credentials in the keyring.
 
bool destroy() noexcept
Destroys the keyring.
 
Keyring(Keyring &&other) noexcept
Constructs a Keyring via move.
 
bool add(const Credential &credential) noexcept
Adds a credential to the keyring.
 
bool isSavingToDisk() const noexcept
Gets whether the keyring is saving data to disk.
 
bool remove(const std::string &name) noexcept
Deletes a credential from the keyring.
 
Definition credential.h:29