DBusAuthObserver.allowMechanism

Emits the "allow-mechanism" signal on observer. Since 2.34 Signal Details The "allow-mechanism" signal gboolean user_function (GDBusAuthObserver *observer, gchar *mechanism, gpointer user_data) : Run Last Emitted to check if mechanism is allowed to be used. Since 2.34

class DBusAuthObserver
int
allowMechanism
(
string mechanism
)

Parameters

mechanism string

The name of the mechanism, e.g. DBUS_COOKIE_SHA1.

mechanism string

The name of the mechanism, e.g. DBUS_COOKIE_SHA1.

Return Value

Type: int

TRUE if mechanism can be used to authenticate the other peer, FALSE if not.Returns: TRUE if mechanism can be used to authenticate the other peer, FALSE if not.

Meta