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.Backend
represents 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.Cancellable
orNone
) – optional cancellation objectcallback (
Gio.AsyncReadyCallback
orNone
) – called when the operation completesuser_data (
object
orNone
) – data to be passed to the callback
Get a
Secret.Backend
instance.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.Backend
proxy, 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.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- do_clear_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult
) –- Return type:
- do_ensure_for_flags(flags, cancellable, callback, *user_data) virtual¶
- Parameters:
flags (
Secret.BackendFlags
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- do_ensure_for_flags_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult
) –- Return type:
- do_lookup(schema, attributes, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- do_lookup_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult
) –- Return type:
- do_search(schema, attributes, flags, cancellable, callback, *user_data) virtual¶
- Parameters:
schema (
Secret.Schema
) –flags (
Secret.SearchFlags
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- 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.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- do_store_finish(result) virtual¶
- Parameters:
result (
Gio.AsyncResult
) –- Return type:
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.