Gjsify LogoGjsify Logo

Interface SecretAgentOld_ConstructProps

Hierarchy

Index

Properties

auto_register?: boolean

If %TRUE (the default), the agent will always be registered when NetworkManager is running; if NetworkManager exits and restarts, the agent will re-register itself automatically.

In particular, if this property is %TRUE at construct time, then the agent will register itself with NetworkManager during construction/initialization and initialization will only complete after registration is completed (either successfully or unsuccessfully). Since 1.24, a failure to register will no longer cause initialization of #NMSecretAgentOld to fail.

If the property is %FALSE, the agent will not automatically register with NetworkManager, and nm_secret_agent_old_enable() or nm_secret_agent_old_register_async() must be called to register it.

Calling nm_secret_agent_old_enable() has the same effect as setting this property.

A bitfield of %NMSecretAgentCapabilities.

Changing this property is possible at any time. In case the secret agent is currently registered, this will cause a re-registration.

dbus_connection?: DBusConnection

The #GDBusConnection used by the instance. You may either set this as construct-only property, or otherwise #NMSecretAgentOld will choose a connection via g_bus_get() during initialization.

identifier?: string

Identifies this agent; only one agent in each user session may use the same identifier. Identifier formatting follows the same rules as D-Bus bus names with the exception that the ':' character is not allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the identifier is limited in length to 255 characters with a minimum of 3 characters. An example valid identifier is 'org.gnome.nm-applet' (without quotes).

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method