Class

SecretPrompt

Description [src]

class Secret.Prompt : Gio.DBusProxy {
  parent_instance: GDBusProxy
}

A prompt in the Service

A proxy object representing a prompt that the Secret Service will display to the user.

Certain actions on the Secret Service require user prompting to complete, such as creating a collection, or unlocking a collection. When such a prompt is necessary, then a SecretPrompt object is created by this library, and passed to the secret_service_prompt() method. In this way it is handled automatically.

In order to customize prompt handling, override the Secret.ServiceClass.prompt_async and Secret.ServiceClass.prompt_finish virtual methods of the SecretService class.

Stability:Stable

Ancestors

  • GDBusProxy
  • GObject

Implements

  • GAsyncInitable
  • GDBusInterface
  • GInitable

Instance methods

secret_prompt_perform

Runs a prompt and performs the prompting.

secret_prompt_perform_finish

Complete asynchronous operation to run a prompt and perform the prompting.

secret_prompt_perform_sync

Runs a prompt and performs the prompting.

secret_prompt_run

Runs a prompt and performs the prompting.

Class structure

struct SecretPromptClass {
  GDBusProxyClass parent_class;
  
}
Class members
parent_class
GDBusProxyClass
 

The parent class.