allowMechanism

open fun allowMechanism(mechanism: String): Boolean

Emits the #GDBusAuthObserver::allow-mechanism signal on @observer.

Return

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

Since

2.34

Parameters

mechanism

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