Auth.update

bool update(soup.message.Message msg, string authHeader)

Updates auth with the information from msg and auth_header, possibly un-authenticating it.

As with [soup.auth.Auth.new_], this is normally only used by classSession.

Parameters

msgthe #SoupMessage auth is being updated for
authHeaderthe WWW-Authenticate/Proxy-Authenticate header

Returns

true if auth is still a valid (but potentially

unauthenticated) #SoupAuth. false if something about auth_params could not be parsed or incorporated into auth at all.