Method
SecretServicelock
Declaration [src]
void
secret_service_lock (
SecretService* service,
GList* objects,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Lock items or collections in the secret service.
The secret service may not be able to lock items individually, and may lock an entire collection instead.
If service
is NULL
, then secret_service_get()
will be called to get
the default SecretService
proxy.
This method returns immediately and completes asynchronously. The secret
service may prompt the user. secret_service_prompt()
will be used to handle
any prompts that show up.
Parameters
objects |
A list of GDBusProxy* |
The items or collections to lock. |
|
The data is owned by the caller of the function. | |
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. |
|
The argument can be NULL . | |
user_data |
gpointer |
Data to pass to the callback. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |