Skip to content
Browse files

Fixed README markup

  • Loading branch information...
1 parent 8b276fa commit d94cbc863b88fba6ad70639c2a55b3c3c3671ca8 @rsieiro rsieiro committed Dec 13, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 README.mdown
5 README.mdown
@@ -1,12 +1,10 @@
# RSOAuthEngine
By Rodrigo Sieiro - [](
## About
**RSOAuthEngine** is an ARC based OAuth engine for [MKNetworkKit]( It supports OAuth 1.0a and it's fully compatible with MKNetworkKit existing classes, allowing you to simply inherit **RSOAuthEngine** instead of MKNetworkEngine to get OAuth support.
## Usage
If you already have a project using MKNetworkKit, just add the contents of the RSOAuthEngine directory to your project and change all classes that inherit from MKNetworkEngine to inherit from **RSOAuthEngine** instead. Whenever you need to send an OAuth signed request, replace calls to `enqueueOperation` with `enqueueSignedOperation`.
@@ -27,7 +25,6 @@ A common OAuth flow using **RSOAuthEngine** should go like this:
Alternatively you could use `setAccessToken:secret` after initialization to define a previously stored access token.
## Demo
**RSOAuthEngine** comes with a sample project that demonstrates how to use it to authenticate with Twitter. It includes a basic Twitter engine that implements Twitter's OAuth authentication flow and allows you to post a tweet. It also shows you how to persist the OAuth access token in the Keychain. The Twitter engine should not be considered production code, and is only included to demonstrate **RSOAuthEngine**.
@@ -37,7 +34,6 @@ To build the demo project, follow these steps:
1. In the project directory, run `git submodule update --init` to retrieve MKNetworkKit (added to the project as a submodule).
2. Put your consumer key and secret at the top of `RSTwitterEngine.m` and remove the `#error` macro. If you don't have a consumer key/secret, register an app at []( to get a pair. **Important**: you need to add a dummy callback URL to your app when registering, otherwise Twitter won't allow you to send a callback URL in the OAuth request.
## License
**RSOAuthEngine** is licensed under the MIT License. Please give me some kind of attribution if you use it in your project, such as a "thanks" note somewhere. I'd also love to know if you use my code, please drop me a line if you do!
@@ -62,7 +58,6 @@ Full license text follows:
## Acknowledgments
**RSOAuthEngine** may contain code from [ASI-HTTP-Request-OAuth]( by Scott James Remnant and the iPhone version of [OAuthConsumer]( by Jonathan George. I used bits and pieces of the code from both projects as references to write this project.

0 comments on commit d94cbc8

Please sign in to comment.
Something went wrong with that request. Please try again.