DBusAuthObserver.authorizeAuthenticatedPeer

Emits the "authorize-authenticated-peer" signal on observer. Since 2.26 Signal Details The "authorize-authenticated-peer" signal gboolean user_function (GDBusAuthObserver *observer, GIOStream *stream, GCredentials *credentials, gpointer user_data) : Run Last Emitted to check if a peer that is successfully authenticated is authorized. Since 2.26

class DBusAuthObserver
int
authorizeAuthenticatedPeer

Parameters

stream IOStream

A GIOStream for the GDBusConnection.

credentials Credentials

Credentials received from the peer or NULL.

stream IOStream

A GIOStream for the GDBusConnection.

credentials Credentials

Credentials received from the peer or NULL.

Return Value

Type: int

TRUE if the peer is authorized, FALSE if not.Returns: TRUE if the peer is authorized, FALSE if not.

Meta