Gio.DBusAuthObserver::allow-mechanism

connect('allow-mechanism', function (dBusAuthObserver, mechanism: String, ): Boolean);
  

Emitted to check if mechanism is allowed to be used.

Since 2.34

dBusAuthObserver

instance of Gio.DBusAuthObserver that is emitting the signal

mechanism

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

Returns

true if mechanism can be used to authenticate the other peer, false if not.