They will get redirected to a login screen. If they do not have an account
they can create one.
2009/4/4 Ronn Ross <[email protected]>

> If I use the one provided doesn't that mean the user would have to have a
> google account before hand?
>
> 2009/4/3 Alkis Evlogimenos ('Αλκης Ευλογημένος) <[email protected]>
>
>> You can use a decorator that is already provided:
>> from google.appengine.ext.webapp.util import login_required
>>
>> class MyHandler(webapp.RequestHandler):
>>   @login_required
>>   def get(self):
>>     ...
>>
>> On Fri, Apr 3, 2009 at 8:02 PM, Ronn Ross <[email protected]> wrote:
>>
>>> How can I create a function that is run every time a page is loaded
>>> without adding an auth block in every method? This is so I can authenticate
>>> people. How would I do something like that in GAE?
>>>
>>>
>>>
>>
>>
>> --
>>
>> Alkis
>>
>>
>>
>
> >
>


-- 

Alkis

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to