Gio.TlsInteraction.prototype.request_certificate_finish

function request_certificate_finish(result: Gio.AsyncResult): Gio.TlsInteractionResult {
    // Gjs wrapper for g_tls_interaction_request_certificate_finish()
}
  

Complete an request certificate user interaction request. This should be once the Gio.TlsInteraction.prototype.request_certificate_async completion callback is called.

If Gio.TlsInteractionResult.handled is returned, then the Gio.TlsConnection passed to Gio.TlsInteraction.prototype.request_certificate_async will have had its Gio.TlsConnection.certificate 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.40

result

the result passed to the callback

Returns

The status of the request certificate interaction.