Secret.Backend¶
- Implementations:
Methods¶
class |
|
class |
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
Service flags |
Signals¶
None
Fields¶
None
Class Details¶
- class Secret.Backend¶
- Bases:
- Structure:
Secret.Backendrepresents a backend implementation of password storage.New in version 0.19.0.
- classmethod get(flags, cancellable, callback, *user_data)¶
- Parameters:
flags (
Secret.BackendFlags) – flags for which service functionality to ensure is initializedcancellable (
Gio.CancellableorNone) – optional cancellation objectcallback (
Gio.AsyncReadyCallbackorNone) – called when the operation completesuser_data (
objectorNone) – data to be passed to the callback
Get a
Secret.Backendinstance.If such a backend already exists, then the same backend is returned.
If flags contains any flags of which parts of the secret backend to ensure are initialized, then those will be initialized before completing.
This method will return immediately and complete asynchronously.
New in version 0.19.0.
- classmethod get_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – the asynchronous result passed to the callback- Raises:
- Returns:
a new reference to a
Secret.Backendproxy, which should be released with [method`GObject`.Object.unref].- Return type:
Complete an asynchronous operation to get a
Secret.Backend.New in version 0.19.0.
- do_clear(schema, attributes, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema) –cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
implementation of [func`password_clear`], required
- do_clear_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult) –- Return type:
implementation of [func`password_clear_finish`], required
- do_ensure_for_flags(flags, cancellable, callback, *user_data) virtual¶
- Parameters:
flags (
Secret.BackendFlags) –cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
implementation of reinitialization step in constructor, optional
- do_ensure_for_flags_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult) –- Return type:
implementation of reinitialization step in constructor, optional
- do_lookup(schema, attributes, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema) –cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
implementation of [func`password_lookup`], required
- do_lookup_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult) –- Return type:
implementation of [func`password_lookup_finish`], required
- do_search(schema, attributes, flags, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema) –flags (
Secret.SearchFlags) –cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
implementation of [func`password_search`], required
- do_store(schema, attributes, collection, label, value, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema) –collection (
str) –label (
str) –value (
Secret.Value) –cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
implementation of [func`password_store`], required
- do_store_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult) –- Return type:
implementation of [func`password_store_finish`], required
Property Details¶
- Secret.Backend.props.flags¶
- Name:
flags- Type:
- Default Value:
- Flags:
A set of flags describing which parts of the secret backend have been initialized.
New in version 0.19.0.