Interface
SecretBackend
since: 0.19.0
Description [src]
interface Secret.Backend : Gio.AsyncInitable
SecretBackend
represents a backend implementation of password storage.
Stability: Stable
Available since: 0.19.0
Prerequisite
In order to implement Backend, your type must inherit fromGAsyncInitable
.
Properties
Secret.Backend:flags
A set of flags describing which parts of the secret backend have been initialized.
since: 0.19.0
Interface structure
struct SecretBackendInterface {
GTypeInterface parent_iface;
void (* ensure_for_flags) (
SecretBackend* self,
SecretBackendFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* ensure_for_flags_finish) (
SecretBackend* self,
GAsyncResult* result,
GError** error
);
void (* store) (
SecretBackend* self,
const SecretSchema* schema,
GHashTable* attributes,
const gchar* collection,
const gchar* label,
SecretValue* value,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* store_finish) (
SecretBackend* self,
GAsyncResult* result,
GError** error
);
void (* lookup) (
SecretBackend* self,
const SecretSchema* schema,
GHashTable* attributes,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
SecretValue* (* lookup_finish) (
SecretBackend* self,
GAsyncResult* result,
GError** error
);
void (* clear) (
SecretBackend* self,
const SecretSchema* schema,
GHashTable* attributes,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* clear_finish) (
SecretBackend* self,
GAsyncResult* result,
GError** error
);
void (* search) (
SecretBackend* self,
const SecretSchema* schema,
GHashTable* attributes,
SecretSearchFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GList* (* search_finish) (
SecretBackend* self,
GAsyncResult* result,
GError** error
);
}
The interface for SecretBackend
.
Interface members
parent_iface |
|
The parent interface. |
|
ensure_for_flags |
|
Implementation of reinitialization step in constructor, optional. |
|
ensure_for_flags_finish |
|
Implementation of reinitialization step in constructor, optional. |
|
store |
|
Implementation of |
|
store_finish |
|
Implementation of |
|
lookup |
|
Implementation of |
|
lookup_finish |
|
Implementation of |
|
clear |
|
Implementation of |
|
clear_finish |
|
Implementation of |
|
search |
|
Implementation of |
|
search_finish |
|
Implementation of |
Virtual methods
Secret.Backend.clear_finish
Implementation of secret_password_clear_finish()
, required.
unstable since: 1
Secret.Backend.ensure_for_flags
Implementation of reinitialization step in constructor, optional.
unstable since: 1
Secret.Backend.ensure_for_flags_finish
Implementation of reinitialization step in constructor, optional.
unstable since: 1
Secret.Backend.lookup_finish
Implementation of secret_password_lookup_finish()
, required.
unstable since: 1
Secret.Backend.search_finish
Implementation of secret_password_search_finish()
, required.
unstable since: 1
Secret.Backend.store_finish
Implementation of secret_password_store_finish()
, required.
unstable since: 1