11 #include "threads/CriticalSection.h" 97 std::string GetLookupPath(
const CURL &url)
const;
98 std::string GetServerLookup(
const std::string &path)
const;
100 std::map<std::string, std::string> m_temporaryCache;
101 std::map<std::string, std::string> m_permanentCache;
104 CCriticalSection m_critSection;
Password Manager class for saving authentication details.
Definition: PasswordManager.h:27
bool IsURLSupported(const CURL &url)
Is an URL is supported (by the manager)
Definition: PasswordManager.cpp:121
static CPasswordManager & GetInstance()
The only way through which the global instance of the CPasswordManager should be accessed.
Definition: PasswordManager.cpp:25
bool AuthenticateURL(CURL &url)
Authenticate a URL by looking the URL up in the temporary and permanent caches First looks up based o...
Definition: PasswordManager.cpp:36
bool PromptToAuthenticateURL(CURL &url)
Prompt for a username and password for the particular URL.
Definition: PasswordManager.cpp:59
void SaveAuthenticatedURL(const CURL &url, bool saveToProfile=true)
Save an authenticated URL.
Definition: PasswordManager.cpp:96
void Clear()
Clear any previously cached passwords.
Definition: PasswordManager.cpp:134