I'm using Google Engine App with Python. I want to add custom user authentication. How is it done, with the best practices?
I want custom authentication because the app is built in Flex and I don't want to redirect to an HTML page.
The user value object is like this:
class User(db.Model):
email = db.EmailProperty(required = True, indexed = True)
masked_password = db.StringProperty(required = True)
# maybe more things here
I would like to mask the password, is there some built in function in GAE?
Then, how I will remember the current user? Through sessions and cookies? Or what else?