47 Credential(
const std::string& name,
const std::string& uri,
const std::string& username,
const std::string& password)
noexcept;
52 const std::string&
getName() const noexcept;
57 void setName(const std::
string& name) noexcept;
62 const std::
string&
getUri() const noexcept;
67 void setUri(const std::
string& uri) noexcept;
93 std::strong_ordering operator<=>(const
Credential&) const noexcept = default;
98 std::
string m_username;
99 std::
string m_password;
void setPassword(const std::string &password) noexcept
Sets the password of the credential.
void setUri(const std::string &uri) noexcept
Sets the uri of the credential (can also be used as a comment for the Credential)
void setName(const std::string &name) noexcept
Sets the name of the credential.
const std::string & getUri() const noexcept
Gets the uri of the credential (can also be used as a comment for the Credential)
const std::string & getPassword() const noexcept
Gets the password of the credential.
Credential(const std::string &name, const std::string &uri, const std::string &username, const std::string &password) noexcept
Constructs a credential.
const std::string & getUsername() const noexcept
Gets the username of the credential.
Credential()=default
Constructs a credential.
void setUsername(const std::string &username) noexcept
Sets the username of the credential.
const std::string & getName() const noexcept
Gets the name of the credential.
Definition credential.h:29