CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

AFOAuth1_HPL_update 1.2

AFOAuth1_HPL_update 1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by Akhilraj.



  • By
  • Song.Wang

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

Author

Song.Wang, [email protected]

License

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