Latest 1.0.3
License MIT
Platforms ios 7.0, requires ARC

CI Status


There are myriad examples of OAuthConsumer usage available on the web.



OAuthConsumer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "OAuthConsumer"


Larry Borsato, [email protected]


OAuthConsumer is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "OAuthConsumer",
    "version": "1.0.3",
    "summary": "OAuthConsumer is an iPhone-ready iOS 8.0 compatible, ARC-supported OAuth implementation.",
    "description": "#OAuthConsumernnnThis is an iPhone ready version of:n by Jon Crosby.nnThis version has been updated for iOS 8.0 and to use Automatic Reference Counting (ARC). You will need to add **Security.framework**.nn"iPhone ready" simply means you just need to add the files to Xcode, and import "OAuthConsumer.h".nnOADataFetcher now also includes the ability to use blocks in addition to delegates as seen in this example:nntOAConsumer *consumer = [[OAConsumer alloc] initWithKey:self.consumerKey secret:self.consumerSecret];ntOAToken *token = [[OAToken alloc] initWithKey:self.accessToken secret:self.accessTokenSecret];ntNSURL* url = [NSURL URLWithString:urlString];ntOAMutableURLRequest* request = [[OAMutableURLRequest alloc] initWithURL:url consumer:consumer token:token realm:nil signatureProvider:nil];nt[request setHTTPMethod:@"POST"];ntNSMutableArray *params = [[NSMutableArray alloc] init];ntfor ( NSString *key in [postParams allKeys] )nt{nttOARequestParameter* param = [[OARequestParameter alloc] initWithName:key value:postParams[key]];ntt[params addObject:param];nt}ntif ( [params count] > 0 )ntt[request setParameters:params];ntOADataFetcher* dataFetcher = [[OADataFetcher alloc] init];nt[dataFetcher performRequest:requestntttttwithHandler:^(OAServiceTicket *ticket, NSData *data, NSError *error) {ntttt   if ( !error ) {nttttt   NSLog(@"didPost:=%@", [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]);nttttt   [self updateStatusCompleteWithStatus:SCUpdateSuccessful data:data error:nil];ntttt   }ntttt   elsentttt   {nttttt   [self updateStatusCompleteWithStatus:SCUpdateFailed data:data error:error];ntttt   }nttt   }];nnnThis is a work in progress. Please feel free to contact me at larry [at] larryborsato [dot] com.n",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Larry Borsato": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.3"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Classes/*",
    "resource_bundles": {
        "OAuthConsumer": [

Pin It on Pinterest

Share This