DBusAuthObserver.allowMechanism
bool allowMechanism(string mechanism)Emits the #GDBusAuthObserver::allow-mechanism signal on observer.
Parameters
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.