DBusAuthObserver.authorizeAuthenticatedPeer

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

class DBusAuthObserver
bool
authorizeAuthenticatedPeer

Parameters

stream gio.iostream.IOStream

A #GIOStream for the #GDBusConnection.

credentials gio.credentials.Credentials

Credentials received from the peer or null.

Return Value

Type: bool

true if the peer is authorized, false if not.