MCPcopy Create free account

hub / github.com/abahgat/webapp2-user-accounts / functions

Functions25 in github.com/abahgat/webapp2-user-accounts

↓ 13 callersMethodget
(self)
main.py:102
↓ 7 callersMethodrender_template
(self, view_filename, params=None)
main.py:74
↓ 6 callersMethoddisplay_message
Utility function to display a template with a simple message.
main.py:82
↓ 2 callersMethod_serve_page
(self, not_found=False)
main.py:163
↓ 2 callersMethod_serve_page
(self, failed=False)
main.py:250
↓ 1 callersMethodget_by_auth_token
Returns a user object based on a user ID and token. :param user_id: The user_id of the requesting user. :param token: The tok
models.py:18
↓ 1 callersMethodset_password
Sets the password for the current user :param raw_password: The raw password which will be hashed and stored
models.py:9
Methodauth
Shortcut to access the auth instance as a property.
main.py:32
Functioncheck_login
(self, *args, **kwargs)
main.py:21
Methoddispatch
(self)
main.py:90
Methodget
(self)
main.py:106
Methodget
(self)
main.py:140
Methodget
(self, *args, **kwargs)
main.py:173
Methodget
(self)
main.py:236
Methodget
(self)
main.py:259
Methodget
(self)
main.py:265
Methodpost
(self)
main.py:109
Methodpost
(self)
main.py:143
Methodpost
(self)
main.py:218
Methodpost
(self)
main.py:239
Methodsession
Shortcut to access the current session.
main.py:70
Methoduser
Shortcut to access the current logged in user. Unlike user_info, it fetches information from the persistence layer and returns an instance of
main.py:49
Methoduser_info
Shortcut to access a subset of the user attributes that are stored in the session. The list of attributes to store in the session is specifie
main.py:37
Methoduser_model
Returns the implementation of the user model. It is consistent with config['webapp2_extras.auth']['user_model'], if set.
main.py:62
Functionuser_required
Decorator that checks if there's a user associated with the current session. Will also fail if there's no session present.
main.py:16