Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top