connectAuthorizeMethod

fun connectAuthorizeMethod(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (interface: DBusInterfaceSkeleton, invocation: DBusMethodInvocation) -> Boolean): <Error class: unknown class>

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

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

The default class handler just returns true.

Since

2.30

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: interface The #GDBusInterfaceSkeleton that @invocation is for.; invocation A #GDBusMethodInvocation.. Returns true if the call is authorized, false otherwise.