How do I authenticate a Google user on the iPhone using GData?

戏子无情 提交于 2019-11-30 19:55:52

问题


I am new in iphone application. I want to make a simple application in which User can login from google and facebook. I have integrate API's for both of them. I have also completed the facebook connection but I dont know how to validate the Google user with its API (Gdata). Can anybody please help me for authentication of google account using iphone application.I just want to check wether user is valid google user or not that's it. Please help me for that. Thanks in advance..


回答1:


Google supports OpenID, though that is typically just used by websites.

There is also authentication for Google accounts called ClientLogin; the Objective-C GData library provides routines to authenticate via ClientLogin to a Google account for use with a specific Google service API.

What is it that your application will do for authenticated users that it would not do for unauthenticated users?



来源:https://stackoverflow.com/questions/1958188/how-do-i-authenticate-a-google-user-on-the-iphone-using-gdata

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!