From 5c1c7f522f1cdaef68d09110aa01e7ab26baf349 Mon Sep 17 00:00:00 2001 From: Ewen Cheslack-Postava Date: Thu, 27 Oct 2011 14:26:28 -0700 Subject: [PATCH] Initial commit, adding LICENSE and README. --- LICENSE | 21 +++++++++++++++++++++ README | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 LICENSE create mode 100644 README diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8d08adb --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +Copyright (c) 2011 Stanford University (liboauthcpp) +Copyright (C) 2011 by swatkat (swatkat.thinkdigitATgmailDOTcom) (libtwitcurl) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README b/README new file mode 100644 index 0000000..85490aa --- /dev/null +++ b/README @@ -0,0 +1,45 @@ +liboauthcpp +----------- + +liboauthcpp is a pure C++ library for performing OAuth requests. It +doesn't contain any networking code -- you provide for performing HTTP +requests yourself, however you like -- instead focusing on performing +OAuth-specific functionality and providing a nice interface for it. +If you already have infrastructure for making HTTP requests and are +looking to add OAuth support, liboauthcpp is for you. + +Requirements +------------ + +You should only need: + +* CMake +* A C++ compiler for your platform (e.g. g++, Microsoft Visual C++) + +Compiling +--------- + +The build process is simple: + +cd liboauthcpp +cd build +cmake . +make # or open Visual Studio and build the solution + +If your own project uses CMake you can also include +build/CMakeLists.txt directly into your project and reference the +target "oauthcpp", a static library, in your project. + +License +------- + +liboauthcpp is MIT licensed. See the LICENSE file for more details. + +liboauthcpp is mostly taken from libtwitcurl +(http://code.google.com/p/twitcurl/), which is similarly licensed. It +mostly serves to isolate the OAuth code from libtwitcurl's Twitter and +cURL specific code. + +libtwitcurl also borrowed code from other projects: +twitcurl uses HMAC_SHA1 from http://www.codeproject.com/KB/recipes/HMACSHA1class.aspx +twitcurl uses base64 from http://www.adp-gmbh.ch/cpp/common/base64.html