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-
Type: A list of
GDBusProxy*The items or collections to lock.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional cancellation object.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackCalled when the operation completes.
The argument can be NULL. user_data-
Type:
gpointerData to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.