allow_mechanism


Description:

[ HasEmitter ]
[ Version ( since = "2.34" ) ]
public signal bool allow_mechanism (string mechanism)

Emitted to check if mechanism is allowed to be used.

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.




2022 vala-language.org