Latest 1.2
Homepage https://github.com/akhilrajtr/AFOAuth1
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking
Authors

AFOAuth1

[![Version 0.0.1]
[![Platform iOS7]

Usage

To run the example project; clone the repo, and run pod install from the Example directory first.

    KDHTTPRequestSerializer *reqSerializer = [KDHTTPRequestSerializer serializer];
    [reqSerializer setUseOAuth:YES];
    self.manager.responseSerializer = [AFHTTPResponseSerializer serializer];
    self.manager.requestSerializer = reqSerializer;
    [self.manager POST:@"http:/example/oauth/access_token" parameters:nil success:^(NSURLSessionDataTask *task, id responseObject) {
        NSLog(@"%@", responseObject);
    } failure:^(NSURLSessionDataTask *task, NSError *error) {
        NSLog(@"%@", error);
    }];

Requirements

Installation

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

pod "AFOAuth1", '~>0.0.1'

Author

Song.Wang, [email protected]

License

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

Latest podspec

{
    "name": "AFOAuth1_HPL_update",
    "version": "1.2",
    "summary": "OAuth1 based on AFNetworking 2.3.0.",
    "description": "                   OAuth1 based on AFNetworking 2.3.0. Added updates.n",
    "homepage": "https://github.com/akhilrajtr/AFOAuth1",
    "license": "MIT",
    "authors": {
        "Song.Wang": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/akhilrajtr/AFOAuth1.git",
        "tag": "1.2"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            "~> 2.3"
        ]
    }
}

Pin It on Pinterest

Share This