Gio.TlsInteraction::ask_password_finish

function vfunc_ask_password_finish(result: Gio.AsyncResult): Gio.TlsInteractionResult {
}
  

Complete an ask password user interaction request. This should be once the Gio.TlsInteraction.prototype.ask_password_async completion callback is called.

If Gio.TlsInteractionResult.handled is returned, then the Gio.TlsPassword passed to Gio.TlsInteraction.prototype.ask_password will have its password filled in.

If the interaction is cancelled by the cancellation object, or by the user then Gio.TlsInteractionResult.failed will be returned with an error that contains a Gio.IOErrorEnum.cancelled error code.

Since 2.30

result

the result passed to the callback

Returns

The status of the ask password interaction.