connectAuthorizeAuthenticatedPeer
fun connectAuthorizeAuthenticatedPeer(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (stream: IOStream, credentials: Credentials?) -> Boolean): <Error class: unknown class>
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.