passwordStoreBinarySync

fnbool passwordStoreBinarySync(secret.schema.Schema schema, string[string] attributes, string collection, string label, secret.value.Value value, gio.cancellable.Cancellable cancellable = null)

Store a password in the secret service.

This is similar to funcpassword_storev_sync, but takes a structValue as the argument instead of a null-terminated passwords.

This method may block indefinitely and should not be used in user interface threads.

Parameters

schemathe schema for attributes
attributesthe attribute keys and values
collectiona collection alias, or D-Bus object path of the collection where to store the secret
labellabel for the secret
valuea structValue
cancellableoptional cancellation object

Returns

whether the storage was successful or not

Throws

[ErrorWrap]