libnick 2025.9.1
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
credentials.h File Reference

Go to the source code of this file.

Namespaces

namespace  Nickvision
 
namespace  Nickvision::System
 
namespace  Nickvision::System::Credentials
 

Functions

std::optional< Keyring::CredentialNickvision::System::Credentials::get (const std::string &name) noexcept
 Gets a credential from the system's credential manager.
 
std::optional< Keyring::CredentialNickvision::System::Credentials::create (const std::string &name) noexcept
 Creates a new credential with a random password and adds it to the system's credential manager.
 
bool Nickvision::System::Credentials::add (const Keyring::Credential &credential) noexcept
 Adds a new credential object to the system's credential manager.
 
bool Nickvision::System::Credentials::update (const Keyring::Credential &credential) noexcept
 Updates a credential object in the system's credential manager.
 
bool Nickvision::System::Credentials::remove (const std::string &name) noexcept
 Removes a credential object from the system's credential manager.
 

Detailed Description

Author
Nicholas Logozzo nlogo.nosp@m.zzo2.nosp@m.25@gm.nosp@m.ail..nosp@m.com

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at https://www.gnu.org/copyleft/gpl.html

DESCRIPTION

Functions for working with the system credential manager (secret store).