Blame introspection/org.freedesktop.NetworkManager.VPN.Plugin.xml

Packit 5756e2
Packit 5756e2
<node name="/">
Packit 5756e2
Packit 5756e2
  
Packit 5756e2
      org.freedesktop.NetworkManager.VPN.Plugin:
Packit 5756e2
      @short_description: VPN Service
Packit 5756e2
Packit 5756e2
      This interface is provided by plugins providing VPN services to the
Packit 5756e2
      NetworkManager daemon.
Packit 5756e2
  -->
Packit 5756e2
  <interface name="org.freedesktop.NetworkManager.VPN.Plugin">
Packit 5756e2
    <annotation name="org.gtk.GDBus.C.Name" value="VpnPlugin"/>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Connect:
Packit 5756e2
        @connection: Describes the connection to be established.
Packit 5756e2
Packit 5756e2
        Tells the plugin to connect. Interactive secrets requests (eg, emitting
Packit 5756e2
        the SecretsRequired signal) are not allowed.
Packit 5756e2
    -->
Packit 5756e2
    <method name="Connect">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_connect"/>
Packit 5756e2
      <arg name="connection" type="a{sa{sv}}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        ConnectInteractive:
Packit 5756e2
        @connection: Describes the connection to be established.
Packit 5756e2
        @details: Additional details about the Connect process.
Packit 5756e2
Packit 5756e2
        Tells the plugin to connect, allowing interactive secrets requests (eg the
Packit 5756e2
        plugin is allowed to emit the SecretsRequired signal if the VPN service
Packit 5756e2
        indicates that it needs additional secrets during the connect process).
Packit 5756e2
    -->
Packit 5756e2
    <method name="ConnectInteractive">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_connect_interactive"/>
Packit 5756e2
      <arg name="connection" type="a{sa{sv}}" direction="in"/>
Packit 5756e2
      <arg name="details" type="a{sv}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        NeedSecrets:
Packit 5756e2
        @settings: Describes the connection that may need secrets.
Packit 5756e2
        @setting_name: The setting name within the provided connection that requires secrets, if any.
Packit 5756e2
Packit 5756e2
        Asks the plugin whether the provided connection will require secrets to
Packit 5756e2
        connect successfully.
Packit 5756e2
    -->
Packit 5756e2
    <method name="NeedSecrets">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_need_secrets"/>
Packit 5756e2
      <arg name="settings" type="a{sa{sv}}" direction="in"/>
Packit 5756e2
      <arg name="setting_name" type="s" direction="out"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Disconnect:
Packit 5756e2
Packit 5756e2
        Disconnect the plugin.
Packit 5756e2
    -->
Packit 5756e2
    <method name="Disconnect">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_disconnect"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        SetConfig:
Packit 5756e2
        @config: Generic configuration details for the connection.
Packit 5756e2
Packit 5756e2
        Set generic connection details on the connection.
Packit 5756e2
    -->
Packit 5756e2
    <method name="SetConfig">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_config"/>
Packit 5756e2
      <arg name="config" type="a{sv}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        SetIp4Config:
Packit 5756e2
        @config: Ip4Config details for the connection. You must call SetConfig() before calling this.
Packit 5756e2
Packit 5756e2
        Set IPv4 details on the connection.
Packit 5756e2
    -->
Packit 5756e2
    <method name="SetIp4Config">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip4_config"/>
Packit 5756e2
      <arg name="config" type="a{sv}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        SetIp6Config:
Packit 5756e2
        @config: Ip6Config details for the connection. You must call SetConfig() before calling this.
Packit 5756e2
Packit 5756e2
        Set IPv6 details on the connection.
Packit 5756e2
    -->
Packit 5756e2
    <method name="SetIp6Config">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip6_config"/>
Packit 5756e2
      <arg name="config" type="a{sv}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        SetFailure:
Packit 5756e2
        @reason: The reason for the failure.
Packit 5756e2
Packit 5756e2
        Indicate a failure to the plugin.
Packit 5756e2
    -->
Packit 5756e2
    <method name="SetFailure">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_failure"/>
Packit 5756e2
      <arg name="reason" type="s" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        State:
Packit 5756e2
Packit 5756e2
        The state of the plugin.
Packit 5756e2
Packit 5756e2
        Returns: <link linkend="NMVpnServiceState">NMVpnServiceState</link>
Packit 5756e2
    -->
Packit 5756e2
    <property name="State" type="u" access="read"/>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        StateChanged:
Packit 5756e2
        @state: (<link linkend="NMVpnServiceState">NMVpnServiceState</link>) The new state of the plugin.
Packit 5756e2
Packit 5756e2
        Emitted when the plugin state changes.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="StateChanged">
Packit 5756e2
      <arg name="state" type="u"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        SecretsRequired:
Packit 5756e2
        @message: Informational message, if any, about the request. For example, if a second PIN is required, could indicate to the user to wait for the token code to change until entering the next PIN.
Packit 5756e2
        @secrets: Array of strings of VPN secret names which the plugin thinks secrets may be required for, or other VPN-specific data to be processed by the VPN's front-end.
Packit 5756e2
Packit 5756e2
        Emitted during an ongoing ConnectInteractive() request when the plugin has
Packit 5756e2
        determined that new secrets are required. NetworkManager will then call
Packit 5756e2
        the NewSecrets() method with a connection hash including the new secrets.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="SecretsRequired">
Packit 5756e2
      <arg name="message" type="s" direction="out"/>
Packit 5756e2
      <arg name="secrets" type="as" direction="out"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        NewSecrets:
Packit 5756e2
        @connection: Describes the connection including the new secrets.
Packit 5756e2
Packit 5756e2
        Called in response to a SecretsRequired signal to deliver updated secrets
Packit 5756e2
        or other information to the plugin.
Packit 5756e2
    -->
Packit 5756e2
    <method name="NewSecrets">
Packit 5756e2
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_new_secrets"/>
Packit 5756e2
      <arg name="connection" type="a{sa{sv}}" direction="in"/>
Packit 5756e2
    </method>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Config:
Packit 5756e2
        @config: The configuration information.
Packit 5756e2
Packit 5756e2
        The plugin obtained generic configuration information.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="Config">
Packit 5756e2
      <arg name="config" type="a{sv}"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Ip4Config:
Packit 5756e2
        @ip4config: The IPv4 configuration.
Packit 5756e2
Packit 5756e2
        The plugin obtained an IPv4 configuration.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="Ip4Config">
Packit 5756e2
      <arg name="ip4config" type="a{sv}"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Ip6Config:
Packit 5756e2
        @ip6config: The IPv6 configuration.
Packit 5756e2
Packit 5756e2
        The plugin obtained an IPv6 configuration.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="Ip6Config">
Packit 5756e2
      <arg name="ip6config" type="a{sv}"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        LoginBanner:
Packit 5756e2
        @banner: The login banner string.
Packit 5756e2
Packit 5756e2
        Emitted when the plugin receives a login banner from the VPN service.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="LoginBanner">
Packit 5756e2
      <arg name="banner" type="s"/>
Packit 5756e2
    </signal>
Packit 5756e2
Packit 5756e2
    
Packit 5756e2
        Failure:
Packit 5756e2
        @reason: (<link linkend="NMVpnPluginFailure">NMVpnPluginFailure</link>) Reason code for the failure.
Packit 5756e2
Packit 5756e2
        Emitted when a failure in the VPN plugin occurs.
Packit 5756e2
    -->
Packit 5756e2
    <signal name="Failure">
Packit 5756e2
      <arg name="reason" type="u"/>
Packit 5756e2
    </signal>
Packit 5756e2
  </interface>
Packit 5756e2
</node>