Gio.TlsConnection.prototype.get_interaction

function get_interaction(): Gio.TlsInteraction {
    // Gjs wrapper for g_tls_connection_get_interaction()
}
  

Get the object that will be used to interact with the user. It will be used for things like prompting the user for passwords. If null is returned, then no user interaction will occur for this connection.

Since 2.30

Returns

The interaction object.