Gio.TlsConnection.prototype.set_interaction
function set_interaction(interaction: Gio.TlsInteraction): void {
// Gjs wrapper for g_tls_connection_set_interaction()
}
Set the object that will be used to interact with the user. It will be used for things like prompting the user for passwords.
The interaction argument will normally be a derived subclass of Gio.TlsInteraction. null can also be provided if no user interaction should occur for this connection.
Since 2.30
- interaction
an interaction object, or null