update


Description:

public virtual bool update (Message msg, HashTable<void*,void*> auth_header)

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

As with [ctor@Auth.new], this is normally only used by [class@Session].

Parameters:

this

a Auth

msg

the Message this is being updated for

auth_header

the WWW-Authenticate/Proxy-Authenticate header

Returns:

true if this is still a valid (but potentially unauthenticated) Auth. false if something about auth_params could not be parsed or incorporated into this at all.