开发者

OAuth 2.0 - calling server api on Iphone

开发者 https://www.devze.com 2023-02-09 06:18 出处:网络
I want to start using OAuth to call my web server apis. Preferably I want to use the new OAuth 2.0 Since I\'m new to this stuff, I\'m not sure exactly what I\'m gonna n开发者_StackOverflow中文版eed.

I want to start using OAuth to call my web server apis. Preferably I want to use the new OAuth 2.0

Since I'm new to this stuff, I'm not sure exactly what I'm gonna n开发者_StackOverflow中文版eed. I looked around and most of the examples are about twitter, however I'm gonna need the OAuth to call my own server api.

Is there a recommended library for it ? I saw google one , is that gonna do the job or there's others ?

Second, I'm making my url request using TTURLRequest , is there a way to provide this object with the token ? (I'm not the server guy so bear with my lack of knowledge here)


Take a look at oauthconsumer, which is based on the project you linked to, oauth. There's a good guide to get you started here, and it discusses using request and access tokens as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消