Signal

GioDBusObjectSkeleton::authorize-method

Declaration

gboolean
authorize_method (
  GDBusObjectSkeleton* self,
  GDBusInterfaceSkeleton* interface,
  GDBusMethodInvocation* invocation,
  gpointer user_data
)

Description

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

This signal is like GDBusInterfaceSkeletons GDBusInterfaceSkeleton::g-authorize-method signal, except that it is for the enclosing object.

The default class handler just returns TRUE.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:2.30

Parameters

interface GDBusInterfaceSkeleton
 

The GDBusInterfaceSkeleton that invocation is for.

 The data is owned by the caller of the function.
invocation GDBusMethodInvocation
 

A GDBusMethodInvocation.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the call is authorized, FALSE otherwise.