libsoup r934 - in trunk: . libsoup



Author: danw
Date: 2007-09-25 04:11:18 +0100 (Tue, 25 Sep 2007)
New Revision: 934
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=934&view=rev

Modified:
   trunk/ChangeLog
   trunk/libsoup/soup-auth-basic.c
   trunk/libsoup/soup-auth-digest.c
   trunk/libsoup/soup-auth.c
   trunk/libsoup/soup-auth.h
   trunk/libsoup/soup-session.c
Log:
	* libsoup/soup-auth.h (SoupAuth): add "realm" field to the struct.
	(SoupAuthClass) remove "get_realm" virtual method.

	* libsoup/soup-auth.c (soup_auth_new_from_header_list): Parse the
	WWW-Authenticate/Proxy-Authenticate header here, set realm, and
	pass the params hash to the construct method.
	(soup_auth_get_info): Return an identifier for the auth:
	"SCHEME:REALM"

	* libsoup/soup-auth-basic.c:
	* libsoup/soup-auth-digest.c: update

	* libsoup/soup-session.c (invalidate_auth, update_auth_internal):
	use soup_auth_get_info().





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]