阅读背景:

扩展restful_authentication / AuthLogic以支持匿名iPhone的懒惰登录的最佳方法是什么?

来源:互联网 

I'm building an iPhone application that talks to a Ruby on Rails backend. The Ruby on Rails application will also service web users. The restful_authentication plugin is an excellent way to provide quick and customizable user authentication. However, I would like users of the iPhone application to have an account created automatically by the phone's unique identifier ([[UIDevice device] uniqueIdentifier]) stored in a new column. Later, when users are ready to create a username/password, the account will be updated to contain the username and password, leaving the iPhone unique identifier intact. Users should not be able to access the website until they've setup their username/password. They can however, use the iPhone application, since the application can authenticate itself using it's identifier.I'm building an iPhone application that talks t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: