package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.D_bus_auth_observer

type t = [ `d_bus_auth_observer | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new DBusAuthObserver

val authorize_authenticated_peer : t -> [ `io_stream | `object_ ] Gobject.obj -> [ `credentials | `object_ ] Gobject.obj option -> bool

Emits the #GDBusAuthObserver::authorize-authenticated-peer signal on @observer.

val allow_mechanism : t -> string -> bool

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

val on_allow_mechanism : ?after:bool -> t -> callback:(mechanism:string -> bool) -> Gobject.Signal.handler_id
val on_authorize_authenticated_peer : ?after:bool -> t -> callback: (stream:[ `io_stream | `object_ ] Gobject.obj -> credentials:[ `credentials | `object_ ] Gobject.obj option -> bool) -> Gobject.Signal.handler_id