passwordStoreBinarySync

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.

bool
passwordStoreBinarySync

Parameters

schema secret.schema.Schema

the schema for attributes

attributes string[string]

the attribute keys and values

collection string

a collection alias, or D-Bus object path of the collection where to store the secret

label string

label for the secret

value secret.value.Value

a structValue

cancellable gio.cancellable.Cancellable

optional cancellation object

Return Value

Type: bool

whether the storage was successful or not