Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit, adding LICENSE and README.
- Loading branch information
0 parents
commit 5c1c7f5
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |