TlsInteraction.askPasswordFinish

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

If [gio.types.TlsInteractionResult.Handled] is returned, then the #GTlsPassword passed to [gio.tls_interaction.TlsInteraction.askPassword] will have its password filled in.

If the interaction is cancelled by the cancellation object, or by the user then [gio.types.TlsInteractionResult.Failed] will be returned with an error that contains a [gio.types.IOErrorEnum.Cancelled] error code.

Parameters

resultthe result passed to the callback

Returns

The status of the ask password interaction.

Throws

[ErrorWrap]