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 |
|
No description available. | |
ensure_for_flags_finish |
|
No description available. | |
store |
|
No description available. | |
store_finish |
|
No description available. | |
lookup |
|
No description available. | |
lookup_finish |
|
No description available. | |
clear |
|
No description available. | |
clear_finish |
|
No description available. | |
search |
|
No description available. | |
search_finish |
|
No description available. |