DBusAuthObserver.allowMechanism

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

class DBusAuthObserver
bool
allowMechanism
(
string mechanism
)

Parameters

mechanism string

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

Return Value

Type: bool

%TRUE if @mechanism can be used to authenticate the other peer, %FALSE if not.

Meta

Since

2.34