문제

I am developing an iphone application in Objective-C and quite new in it. I just have the request URL, consumer key and secret. How can I do 2 legged authentication, could you provide me some code please. I already checked AFNetworking project and other samples but I think they are too complex for a noob like me.

Thanks.

도움이 되었습니까?

해결책

Unfortunately using OAuth is not simple, and even a library like gtm-oauth (http://code.google.com/p/gtm-oauth/) which has decent documentation and samples doesn't make it too easy.

I would try seeing if the service provider has their own library on github which should hopefully wrap the complexity. Otherwise gtm-oauth is a good place to start.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top