Method

GioDBusAuthObserverauthorize_authenticated_peer

Declaration

gboolean
g_dbus_auth_observer_authorize_authenticated_peer (
  GDBusAuthObserver* observer,
  GIOStream* stream,
  GCredentials* credentials
)

Description

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

Available since:2.26

Parameters

stream

Type: GIOStream

A GIOStream for the GDBusConnection.

The data is owned by the caller of the function.
credentials

Type: GCredentials

Credentials received from the peer or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the peer is authorized, FALSE if not.