开发者

Form authentication in Google Apps

I've been wondering if it's possible to build and application in Google AppEngine (GAE) and provide to users not only a开发者_开发技巧 login through the Google Accounts. I'd like to also offer my own authentication. Something like http://www.appdemostore.com/signin . This app is built on top of GAE and not only provides a Google Accounts method to authenticate its users. It has a form authentication and a form to create an account hosted by itself. So, my point is: How could i implement something similar. Is it possible authenticate through my own forms and user's accounts instead of only Google Accounts?


Ya you can, You should also manage sessions and store user entity on datestore on your own. If you are using python. You should have a look at gaesessions.Your model will look something like

class Profile(db.Model):
    name=db.TextProperty()
    email=db.EmailProperty()
    contact=db.StringProperty()
    address = db.StringProperty()
    image=db.BlobProperty()
    passcode=db.StringProperty()#hash value
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜