Method

SecretServiceget_secret_for_dbus_path

Declaration [src]

void
secret_service_get_secret_for_dbus_path (
  SecretService* self,
  const gchar* item_path,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Get the secret value for a secret item stored in the service.

The item is represented by its D-Bus object path. If you already have a SecretItem proxy object, use use secret_item_get_secret() to more simply get its secret value.

This function returns immediately and completes asynchronously.

Stability:Unstable

Parameters

item_path const gchar*
 

The D-Bus path to item to retrieve secret for.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
cancellable GCancellable
 

Optional cancellation object.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

Called when the operation completes.

user_data gpointer
 

Data to pass to the callback.