Latest | 0.0.1 |
---|---|
Homepage | https://github.com/wssand44/AFOAuth1 |
License | MIT |
Platforms | ios 7.0, requires ARC |
Dependencies | AFNetworking |
Authors |
[![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", "version": "0.0.1", "summary": "OAuth1 based on AFNetworking 2.2.0.", "homepage": "https://github.com/wssand44/AFOAuth1", "license": "MIT", "authors": { "Song.Wang": "[email protected]" }, "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/wssand44/AFOAuth1.git", "tag": "0.0.1" }, "source_files": [ "Classes", "Classes/**/*.{h,m}" ], "exclude_files": "Classes/Exclude", "requires_arc": true, "dependencies": { "AFNetworking": [ "~> 2.2.0" ] } }
Mon, 29 Feb 2016 07:31:03 +0000