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.

Implementations

Functions

secret_backend_get

Get a SecretBackend instance.

since: 0.19.0

secret_backend_get_finish

Complete an asynchronous operation to get a SecretBackend.

since: 0.19.0

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
GTypeInterface
 

The parent interface.

ensure_for_flags
void (* ensure_for_flags) (
    SecretBackend* self,
    SecretBackendFlags flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
ensure_for_flags_finish
gboolean (* ensure_for_flags_finish) (
    SecretBackend* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
store
void (* store) (
    SecretBackend* self,
    const SecretSchema* schema,
    GHashTable* attributes,
    const gchar* collection,
    const gchar* label,
    SecretValue* value,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
store_finish
gboolean (* store_finish) (
    SecretBackend* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
lookup
void (* lookup) (
    SecretBackend* self,
    const SecretSchema* schema,
    GHashTable* attributes,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
lookup_finish
SecretValue* (* lookup_finish) (
    SecretBackend* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
clear
void (* clear) (
    SecretBackend* self,
    const SecretSchema* schema,
    GHashTable* attributes,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
clear_finish
gboolean (* clear_finish) (
    SecretBackend* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.
search
void (* search) (
    SecretBackend* self,
    const SecretSchema* schema,
    GHashTable* attributes,
    SecretSearchFlags flags,
    GCancellable* cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data
  )
 No description available.
search_finish
GList* (* search_finish) (
    SecretBackend* self,
    GAsyncResult* result,
    GError** error
  )
 No description available.

Virtual methods

Secret.Backend.clear
No description available.

Secret.Backend.clear_finish
No description available.

Secret.Backend.ensure_for_flags
No description available.

Secret.Backend.ensure_for_flags_finish
No description available.

Secret.Backend.lookup
No description available.

Secret.Backend.lookup_finish
No description available.

No description available.

Secret.Backend.search_finish
No description available.

Secret.Backend.store
No description available.

Secret.Backend.store_finish
No description available.