connectAllowMechanism
fun connectAllowMechanism(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (mechanism: String) -> Boolean): <Error class: unknown class>
Emitted to check if @mechanism is allowed to be used.
Since
2.34
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: 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.