Session.addOnAuthenticate

Emitted when the session requires authentication. If credentials are available call soup_auth_authenticate() on @auth. If these credentials fail, the signal will be emitted again, with @retrying set to %TRUE, which will continue until you return without calling soup_auth_authenticate() on @auth.

Note that this may be emitted before @msg's body has been fully read.

If you call soup_session_pause_message() on @msg before returning, then you can authenticate @auth asynchronously (as long as you g_object_ref() it to make sure it doesn't get destroyed), and then unpause @msg when you are ready for it to continue.

class Session
gulong
addOnAuthenticate
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Meta