Gio.MountOperation::ask-password

connect('ask-password', function (mountOperation, message: String, default_user: String, default_domain: String, flags: Gio.AskPasswordFlags, ): void);
  

Emitted when a mount operation asks the user for a password.

If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a #GtkMessageDialog.

mountOperation

instance of Gio.MountOperation that is emitting the signal

message

string containing a message to display to the user.

default_user

string containing the default user name.

default_domain

string containing the default domain.

flags

a set of Gio.AskPasswordFlags.