Implement Basic HTTP Auth
Bug #504452 reported by
Adi Roiban
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchdb-glib |
Fix Released
|
Medium
|
Rodrigo Moya |
Bug Description
Since couchdb-glib is a general purpose library (not only desktopcouch) it would make sense to also support Basic HTTP auth method.
Related branches
lp:~adiroiban/couchdb-glib/bug-504452
Merged
into
lp:couchdb-glib
- Rodrigo Moya (community): Approve
-
Diff: 215 lines (+105/-3)4 files modifiedcouchdb-glib/couchdb-credentials.c (+30/-0)
couchdb-glib/couchdb-credentials.h (+8/-1)
couchdb-glib/couchdb-session.c (+65/-2)
couchdb-glib/couchdb-session.h (+2/-0)
Changed in couchdb-glib: | |
status: | New → In Progress |
assignee: | nobody → Adi Roiban (adiroiban) |
Changed in couchdb-glib: | |
assignee: | Adi Roiban (adiroiban) → Rodrigo Moya (rodrigo-moya) |
Changed in couchdb-glib: | |
status: | In Progress → Fix Committed |
Changed in couchdb-glib: | |
importance: | Undecided → Medium |
Changed in couchdb-glib: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It looks like the CouchDBCredentials MP was deleted so I will comment here:
It looks like the "authentication -failed" signal is not implemented in CouchDBSession for OAuth, or it does not make sense for OAuth?
I have added it for HTTP Auth.
----------
Do we need to expose these functions from CouchDBCredentials ?
const gchar *couchdb_ credentials_ get_item (CouchdbCredentials *credentials, const gchar *item); credentials_ set_item (CouchdbCredentials *credentials,
void couchdb_
const gchar *item,
const gchar *value);
---------
I have implemented the HTTP Auth and I will create a MP for the branch.