O'Reilly logo

Mastering Google App Engine by Mohsin Shafique Hijazee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Users

It is often the case that there are certain parts of your web application that you don't want to be accessible to everyone, especially in the case of SaaS applications. That's where you need to guard certain functionalities or the entire application behind some sort of user management.

Google App Engine provides you with some really solid and strong user management out of the box. The process is pretty simple. The API is defined in the google.appengine.api.users package. The whole package contains a total of four functions and a single User class, which are as follows, and that's how the process works:

  • get_current_user(): This returns the current logged in user. This is an instance of the User class, which we'll examine in a while. If this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required