iPhone log in to Google App Engine

2020-05-21 05:30发布

Is there any way to log into a Google account from inside an iPhone application if you know the username and password of the account. I want to be able to do this without making the user type in the information each time the app has to login. I need to do this so I can have a login system accessable from the iPhone SDK. Actually any login system will do if it can run on the app engine.

Thanks for any answer

3条回答
ら.Afraid
2楼-- · 2020-05-21 05:56

In the end, I just had to write my own login engine.

查看更多
Anthone
3楼-- · 2020-05-21 06:06

You will probably want to take a look at this framework, touchengine, which is used for communication between Cocoa Touch and Google App Engine. There is also an interesting article at IBM titled Connecting Apple's iPhone to Google's cloud computing offerings, which highlights touchengine.

A quote of touchengine's future feature list:

  • User Authentication
  • Creating new data or modifying data on the server from iPhone using plists this is partially done. We can set most db.properties from strings.
  • Modifying/Updating existing data on server from iPhone using plists
  • Libraries Libraries Libraries -- starting with a user defaults sync solution
  • Automated synchronization of model on iPhone and on GAE
查看更多
趁早两清
4楼-- · 2020-05-21 06:17

How about using the keychain services available on the iPhone to securely store the user's credentials? Then just access those credentials whenever you need to log into the app engine.

See this question on accessing the keychain on the iPhone for some links and additional abstraction layers to make your life easier.

查看更多
登录 后发表回答