23#ifndef SYSTEMCREDENTIALS_H
24#define SYSTEMCREDENTIALS_H
A model of a credential stored in a keyring.
Definition credential.h:35
Definition systemcredentials.h:31
std::optional< Credential > addCredential(const std::string &name)
Adds a new credential with a random password to the system's credential manager.
std::optional< Credential > getCredential(const std::string &name)
Gets a credential from the system's credential manager.
bool deleteCredential(const std::string &name)
Deletes a credential from the system's credential manager.
bool updateCredential(const Credential &credential)
Updates a credential in the system's credential manager.