Secret🔗

org.freedesktop.impl.portal.Secret

Secret portal backend interface

The Secret portal allows sandboxed applications to retrieve a per-application master secret.

This documentation describes version 2 of this interface.

Properties🔗

version🔗

version readable u

Methods🔗

RetrieveSecret()🔗

RetrieveSecret (
  IN handle o,
  IN app_id s,
  IN fd h,
  IN options a{sv},
  OUT response u,
  OUT results a{sv}
)

Retrieves a master secret for a sandboxed application.

Supported keys in the options vardict include:

  • token (s)

    An opaque string associated with the retrieve secret.

  • activation_token (s)

    A token that can be used to activate a window that might be shown in reponse of this request. This option was added in version 2 of the interface.

  • parent_window (s)

    Identifier for the application window, see Window Identifiers. This option was added in version 2 of the interface.

handle

Object path for the Request object representing this call

app_id

App ID of the application

fd

Writable file descriptor for transporting the secret

options

Vardict with optional further information

response

Numeric response

results

Vardict with the results of the call