Method
SecretServiceunlock_dbus_paths_sync
Declaration [src]
gint
secret_service_unlock_dbus_paths_sync (
SecretService* self,
const gchar** paths,
GCancellable* cancellable,
gchar*** unlocked,
GError** error
)
Description [src]
Unlock items or collections in the secret service.
The items or collections are represented by their D-Bus object paths. If you
already have SecretItem
and SecretCollection
proxy objects, use use
secret_service_unlock_sync()
instead.
The secret service may not be able to unlock items individually, and may unlock an entire collection instead.
This method may block indefinitely and should not be used in user
interface threads. The secret service may prompt the user.
secret_service_prompt()
will be used to handle any prompts that show up.
Stability: | Unstable |
This method is not directly available to language bindings. |
Parameters
paths |
An array of gchar* |
The D-Bus object paths of the items or collections to unlock. |
|
The array must be NULL -terminated. | |
The data is owned by the caller of the function. | |
Each element 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. | |
unlocked |
An array of gchar** |
location to place array of D-Bus paths of items or collections that were unlocked. |
|
The argument will be set by the function. | |
The argument can be set to NULL . | |
The argument can be NULL . | |
The array must be NULL -terminated. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
Each element is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |