Package ch.bailu.gtk.gio
Interface DBusAuthObserver.OnAllowMechanism
- Enclosing class:
- DBusAuthObserver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onAllowMechanism
(Str mechanism) Emitted to check if @mechanism is allowed to be used.
-
Method Details
-
onAllowMechanism
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.
-