liboauth-1.0.1

Introduction to liboauth

liboauth is a collection of POSIX-C functions implementing the OAuth Core RFC 5849 standard. Liboauth provides functions to escape and encode parameters according to OAuth specification and offers high-level functionality to sign requests or verify OAuth signatures as well as perform HTTP requests.

This package is known to build and work properly using an LFS-7.3 platform.

Package Information

liboauth Dependencies

Required

cURL-7.30.0 and OpenSSL-1.0.1e or NSS-3.14.3

Optional

Doxygen-1.8.4 (to build documentation).

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/liboauth

Installation of liboauth

Install liboauth by running the following commands:

./configure --prefix=/usr --disable-static &&
make

If you have Doxygen-1.8.4, issue make dox to build documentation.

To test the results, issue: make check.

Now, as the root user:

make install

If you have built documentation previously, install it with following commands as the root user:

mkdir -pv /usr/share/doc/liboauth-1.0.1 &&
cp -rv doc/html/* /usr/share/doc/liboauth-1.0.1

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-nss: Use this switch if you want to use Mozilla NSS instead of OpenSSL.

Contents

Installed Programs: None
Installed Library: liboauth.so
Installed Directory: /usr/share/doc/liboauth-1.0.1

Short Descriptions

liboauth.so

provides functions to escape and encode stings according to OAuth specifications and offers high-level functionality built on top to sign requests or verify signatures using either NSS or OpenSSL for calculating the hash/signatures.

Last updated on 2013-04-27 18:04:22 +0000