We have setup a code repository on Google Code for gathering libraries and other supporting examples. These libraries are contributed by members of the community and have not been tested or are necessarily known to work.
If you would like to test them and report issues, please visit our Issue Tracker.
DotNetOpenAuth a consumer and service provider implementation for OAuth 1.0 and 1.0a for .NET, written in C#. It has built-in support for HMAC-SHA1, RSA-SHA1, and PLAINTEXT signature methods with extensibility to add others. It also includes the OpenID+OAuth extension. It works for ASP.NET as well as non-ASP.NET services, and works in partial trust shared hosting environments. Contributed by Andrew Arnott.
Alex Henderson offers DevDefined OAuth, an OAuth library developed in C#, providing both consumer and provider implementations for OAuth 1.0 and 1.0a which includes support for the Error Reporting Extensions and allows for RSA-SHA1, HMAC-SHA1 and Plaintext signing. DevDefined OAuth is designed to be both test friendly and extensible, allowing the core to be repurposed to your specific projects needs, and is available under an MIT License. Extensions to the framework to support ASP.Net MVC can also be found on this fork.
Leslie P. Polzer contributed cl-oauth, which is available on GitHub and Gitorious. It currently supports HMAC-SHA1 authentication and comes with some SP convenience functions. It’s not polished yet but comes with a basic test suite and all you need to set up both Consumers and Service Providers.
OAuth for Spring Security is also available, contributed by Ryan Heaton. This project is not hosted in the OAuth repository.
OAuth Signpost offers simple OAuth message signing for Java and Apache HttpComponents (Google Android ready!). Contributed by Matthias Kaeppler.
Scribe is a mature OAuth library for Java by Pablo Fernandez that is intended to work with all APIs. It has been featured in LinkedIn's developers forums and works with Google, Yahoo, LinkedIn, Twitter, and Foursquare APIs out of the box.
Jon Crosby has released an OAuthConsumer and OAuthTestSuite for Objective-C for Mac developers. The OAuthConsumer framework is available in the repository and Jon has also written up Using OAuthConsumer, a complete guide to using the OAuthConsumer framework for Mac apps.
- There is an extension to PHP that supports OAuth. It was written by John Jawed. An example can be found here and a walkthrough is also available. This pecl package is considered the de facto standard by Rasmus Lerdorf.
- Andy Smith has written a basic PHP library for OAuth.
- Cal Henderson has contributed a simple OAuth library that primarily handles signing.
- HTTP_OAuth is a PEAR package developed by Jeff Hodsdon and Bill Shupp (Digg). You can try it out using this tool.
- There is now an OAuth component for CakePHP.
- Justin Richer has developed a plugin for the Elgg social networking platform, based on the basic PHP library. This library allows Elgg to act as both an OAuth client (to access other services) and server (allowing OAuth-protected access to the Elgg API). The library supports both version 1.0 and revision 1.0a simultaneously. Documentation can be found on the Elgg wiki.
- Zend_OAuth was contributed by Pádraic Brady. The source code can be found here.
- Leah Culver has written both a library in Python 2.3 and offered an example implementation.
- David Larlet has released an OAuth Provider and Consumer (documentation) for Django.
- Simon Willison released the snippet that handles OAuth in Wikinear.
- Steve Marshall wrote a comprehensive binding for Fire Eagle that implements OAuth.
There is an XQuery OAuth Library written by Stephan Merkli and documented here.
Saturday, December 25, 2010
Code — OAuth