GnuCash
5.6-150-g038405b370+
|
Functions to save and retrieve passwords. More...
#include <glib.h>
#include <gtk/gtk.h>
Go to the source code of this file.
Functions | |
void | gnc_keyring_set_password (const gchar *access_method, const gchar *server, guint32 port, const gchar *service, const gchar *user, const gchar *password) |
Attempt to store a password in some trusted keystore. More... | |
gboolean | gnc_keyring_get_password (GtkWidget *parent, const gchar *access_method, const gchar *server, guint32 port, const gchar *service, gchar **user, gchar **password) |
Attempt to retrieve a password to connect to a remote service. More... | |
Functions to save and retrieve passwords.
GnuCash needs passwords for some of the services it uses, like connecting to a remote database, or bank. For security these passwords shouldn't be stored unless in an encrypted password store. This is implemented for example in Gnome's keyring or Mac OS X' keychain. This file defines some convenience functions to store a password or to retrieve one.
Definition in file gnc-keyring.h.