authorize_method


Description:

public virtual signal bool authorize_method (DBusInterfaceSkeleton interface_, DBusMethodInvocation invocation)

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

This signal is like DBusInterfaceSkeleton's g_authorize_method signal, except that it is for the enclosing object.

The default class handler just returns true.

Parameters:

invocation

A DBusMethodInvocation.

interface

The DBusInterfaceSkeleton that invocation is for.

Returns:

true if the call is authorized, false otherwise.




2022 vala-language.org