onAuthorizeAuthenticatedPeer

fun onAuthorizeAuthenticatedPeer(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (stream: IoStream, credentials: Credentials?) -> Boolean): <Error class: unknown class>(source)

Emitted to check if a peer that is successfully authenticated is authorized.

Since

2.26

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: stream A #GIOStream for the #GDBusConnection.; credentials Credentials received from the peer or null.. Returns true if the peer is authorized, false if not.