authorizeAuthenticatedPeer

open fun authorizeAuthenticatedPeer(stream: IoStream, credentials: Credentials? = null): Boolean

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

Return

true if the peer is authorized, false if not.

Since

2.26

Parameters

stream

A #GIOStream for the #GDBusConnection.

credentials

Credentials received from the peer or null.