Signal

FlatpakTransaction::ready-pre-auth

since: 1.9.1

Declaration

gboolean
ready_pre_auth (
  FlatpakTransaction* self,
  gpointer user_data
)

Description [src]

The ::ready-pre-auth signal is emitted when all the refs involved in the transaction have been resolved to commits, but we might not necessarily have asked for authentication for all their required operations. This is very similar to the ::ready signal, and you can choose which one (or both) to use depending on how you want to handle authentication in your user interface.

At this point flatpak_transaction_get_operations() will return all the operations that will be executed as part of the transaction. You can call flatpak_transaction_operation_get_requires_authentication() to see which will require authentication.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 1.9.1

Return value

Type: gboolean

TRUE to carry on with the transaction, FALSE to abort.