signal callback delegate or function to connect
bool callback(soup.auth.Auth auth, bool retrying, soup.message.Message message)
auth the #SoupAuth to authenticate (optional)
retrying true if this is the second (or later) attempt (optional)
message the instance the signal is connected to (optional)
Returns true to stop other handlers from being invoked or false to propagate the event further.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to Authenticate signal.
Emitted when the message requires authentication.
If credentials are available call soup.auth.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.Auth.authenticate on auth.
Note that this may be emitted before msg's body has been fully read.
You can authenticate auth asynchronously by calling gobject.object.ObjectG.ref_ on auth and returning true. The operation will complete once either soup.auth.Auth.authenticate or soup.auth.Auth.cancel are called.