askPasswordFinish

open fun askPasswordFinish(result: AsyncResult): <Error class: unknown class><TlsInteractionResult>

Complete an ask password user interaction request. This should be once the g_tls_interaction_ask_password_async() completion callback is called.

If %G_TLS_INTERACTION_HANDLED is returned, then the #GTlsPassword passed to g_tls_interaction_ask_password() will have its password filled in.

If the interaction is cancelled by the cancellation object, or by the user then %G_TLS_INTERACTION_FAILED will be returned with an error that contains a %G_IO_ERROR_CANCELLED error code.

Return

The status of the ask password interaction.

Since

2.30

Parameters

result

the result passed to the callback