Secret.Item.load_secrets
Description: Reference for Secret.Item.load_secrets

### Function

# Secret Itemload_secrets

#### Declaration [src]

    void
    secret_item_load_secrets (
      GList* items,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Load the secret values for a secret item stored in the service.

The `items` must all have the same `SecretItem:service` property.

This function returns immediately and completes asynchronously.

This function completes asynchronously. Use `secret_item_load_secrets_finish()` inside the `GAsyncReadyCallback` to obtain the result of the operation.

#### Parameters

`items`

  Type: A list of `None`

  The items to retrieve secrets for.

  The data is owned by the caller of the function.

`cancellable`

  Type: `GCancellable`

  Optional cancellation object.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`callback`

  Type: `GAsyncReadyCallback`

  Called when the operation completes.

`user_data`

  Type: `gpointer`

  Data to pass to the callback.

  The argument can be `NULL`.
  The data is owned by the caller of the function.