TlsInteraction.askPasswordFinish

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

If G_TLS_INTERACTION_HANDLED is returned, then the gio.TlsPassword passed to TlsInteraction.askPassword 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.

class TlsInteraction
askPasswordFinish

Parameters

result AsyncResultIF

the result passed to the callback

Return Value

The status of the ask password interaction.

Throws

GException on failure.

Meta

Since

2.30