1 liboauth is a collection of c functions implementing the http://oauth.net API.
3 liboauth provides functions to escape and encode stings according to
4 OAuth specifications and offers high-level functionality built on top to sign
5 requests or verify signatures using either NSS or OpenSSL for calculating
8 The included documentation in the doc/ folder and example code from tests/
9 can also be found online at http://liboauth.sourceforge.net/
11 Send bug-reports, patches or suggestions to robin@gareus.org.
12 or inquire information at http://groups.google.com/group/oauth/
14 == License and Notes ==
16 The source-code of liboauth can be distributed under MIT License,
17 or at your option: in terms of the the GNU General Public License.
18 see COPYING.MIT or COPYING.GPL for details.
20 Note: OpenSSL is not strictly compatible with the GPL license.
21 An exemption (to the GPL) allowing to link and redistribute
22 liboauth with the OpenSSL library is is included in the source files.
23 for more information, see LICENSE.OpenSSL and
24 http://lists.debian.org/debian-legal/2004/05/msg00595.html
26 You can avoid this whole issue by using NSS instead of OpenSSL;
27 configure with '--enable-nss'.
29 The Debian packaging that comes with the source-code is licensed under
30 the GNU General Public License.
32 == Test and Example Code ==
34 After compilation `make check` can be used to perform a off-line self-test.
36 There is also example code to perform and verify OAuth requests online,
37 but they are not run automatically.
40 tests/oauthexample.c - CONNECTS TO INTERNET
41 walk-though http://term.ie/oauth/example
43 tests/oauthtest.c - CONNECTS TO INTERNET
44 gets a request-token from http://term.ie test-server
46 tests/oauthtest2.c - CONNECTS TO INTERNET
47 gets a request-token from http://term.ie test-server
48 using OAuth HTTP Authorization header:
49 see http://oauth.net/core/1.0a/#auth_header
50 and http://oauth.net/core/1.0a/#consumer_req_param
54 Test-Cases for parameter encoding, signatures, etc
57 Common Test-Case functions exercising the low-level API used by self-tests.
59 tests/oauthdatapost.c - CONNECTS TO INTERNET
60 Experimental code to sign data uploads
61 Note: The example keys have since been deleted from the test-server.
62 Code remains for inspiration/example purposes.