Gio.DBusObjectSkeleton::authorize-method

connect('authorize-method', function (dBusObjectSkeleton, interface: Gio.DBusInterfaceSkeleton, invocation: Gio.DBusMethodInvocation, ): Boolean);
  

Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.

This signal is like Gio.DBusInterfaceSkeleton's Gio.DBusInterfaceSkeleton::g-authorize-method signal, except that it is for the enclosing object.

The default class handler just returns true.

Since 2.30

dBusObjectSkeleton

instance of Gio.DBusObjectSkeleton that is emitting the signal

interface

The Gio.DBusInterfaceSkeleton that invocation is for.

invocation

A Gio.DBusMethodInvocation.

Returns

true if the call is authorized, false otherwise.