Auth.update

Updates @auth with the information from @msg and @auth_header, possibly un-authenticating it. As with soup_auth_new(), this is normally only used by #SoupSession.

class Auth
bool
update

Parameters

msg Message

the #SoupMessage @auth is being updated for

authHeader string

the WWW-Authenticate/Proxy-Authenticate header

Return Value

Type: bool

%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.

Meta