csvzall 0.4.0
CSV command-line tool and emerging C++ library
Loading...
Searching...
No Matches
csvzall::CredentialManager Class Reference

#include <credentials.hpp>

Public Member Functions

bool available () const
 
std::string unavailable_reason () const
 
std::string target_name (const CredentialTarget &target) const
 
std::optional< std::string > get_password (const CredentialTarget &target, std::string *error_message=nullptr) const
 
bool save_password (const CredentialTarget &target, const std::string &password, std::string *error_message=nullptr) const
 
bool forget_password (const CredentialTarget &target, std::string *error_message=nullptr) const
 
std::size_t forget_all_postgres (std::string *error_message=nullptr) const
 

Member Function Documentation

◆ available()

bool csvzall::CredentialManager::available ( ) const

◆ forget_all_postgres()

std::size_t csvzall::CredentialManager::forget_all_postgres ( std::string *  error_message = nullptr) const

◆ forget_password()

bool csvzall::CredentialManager::forget_password ( const CredentialTarget &  target,
std::string *  error_message = nullptr 
) const

◆ get_password()

std::optional< std::string > csvzall::CredentialManager::get_password ( const CredentialTarget &  target,
std::string *  error_message = nullptr 
) const

◆ save_password()

bool csvzall::CredentialManager::save_password ( const CredentialTarget &  target,
const std::string &  password,
std::string *  error_message = nullptr 
) const

◆ target_name()

std::string csvzall::CredentialManager::target_name ( const CredentialTarget &  target) const

◆ unavailable_reason()

std::string csvzall::CredentialManager::unavailable_reason ( ) const

The documentation for this class was generated from the following files: