Method

SecretItemload_secret

Declaration [src]

void
secret_item_load_secret (
  SecretItem* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Load the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

This function will fail if the secret item is locked.

This function returns immediately and completes asynchronously.

Parameters

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.