AFOAuth1Client支持 OAuth 1.0a 认证的 AFNetworking 扩展
AFNetworking 的扩展,用于支持 OAuth 1.0a 认证。
示例代码:
AFOAuth1Client *twitterClient = [[[AFOAuth1Client alloc] initWithBaseURL:[NSURL URLWithString:@"https://twitter.com/oauth/"] key:@"..." secret:@"..."] autorelease]; // Your application will be sent to the background until the user authenticates, and then the app will be brought back using the callback URL [twitterClient authorizeUsingOAuthWithRequestTokenPath:@"/request_token" userAuthorizationPath:@"/authorize" callbackURL:[NSURL URLWithString:@"x-com-YOUR-APP-SCHEME://success"] accessTokenPath:@"/access_token" success:^(AFOAuth1Token *accessToken) { NSLog(@"Success: %@", accessToken); NSLog(@"Your OAuth credentials are now set in the `Authorization` HTTP header"); } failure:^(NSError *error) { NSLog(@"Error: %@", error); }];
评论
OhAuthNode.js的OAuth扩展
OhAuth是基于Node.js的扩展,用于简化OAuth的开发,实现客户端无重定向的OAuth认证支持。示例代码:varExpress=require('express'),app=Express.
OhAuthNode.js的OAuth扩展
0
Simple OAuth 1.0a Client for iOS
这是一个 OAuth 1.0a 的简单实现,目前只支持 Twitter 和 Tumblr
Simple OAuth 1.0a Client for iOS
0
Simple OAuth 1.0a Client for iOS
这是一个OAuth1.0a的简单实现,目前只支持Twitter和Tumblr
Simple OAuth 1.0a Client for iOS
0
Passport BnetBattle.net OAuth 认证服务
PassportBnet是暴雪公司Battle.netOAuth服务认证的Passport策略。要使用这个,你需要在Battle.netDeveloperPortal上注册。安装$ npm insta
Passport BnetBattle.net OAuth 认证服务
0
豆瓣OAuth认证示例项目
为了方便开发人员进行豆瓣OAuth认证,此项目提供了常见语言环境下进行豆瓣OAuth认证的示例代码。如果你使用或参考示例项目中的代码,而你对OAuth一无所知,那么你需要阅读我们在下面提供的认证及访问
豆瓣OAuth认证示例项目
0
Passport BnetBattle.net OAuth 认证服务
Passport Bnet 是暴雪公司 Battle.net OAuth 服务认证的 Passpor
Passport BnetBattle.net OAuth 认证服务
0