Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abahgat/webapp2-user-accounts
/ functions
Functions
25 in github.com/abahgat/webapp2-user-accounts
⨍
Functions
25
◇
Types & classes
10
↓ 13 callers
Method
get
(self)
main.py:102
↓ 7 callers
Method
render_template
(self, view_filename, params=None)
main.py:74
↓ 6 callers
Method
display_message
Utility function to display a template with a simple message.
main.py:82
↓ 2 callers
Method
_serve_page
(self, not_found=False)
main.py:163
↓ 2 callers
Method
_serve_page
(self, failed=False)
main.py:250
↓ 1 callers
Method
get_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 callers
Method
set_password
Sets the password for the current user :param raw_password: The raw password which will be hashed and stored
models.py:9
Method
auth
Shortcut to access the auth instance as a property.
main.py:32
Function
check_login
(self, *args, **kwargs)
main.py:21
Method
dispatch
(self)
main.py:90
Method
get
(self)
main.py:106
Method
get
(self)
main.py:140
Method
get
(self, *args, **kwargs)
main.py:173
Method
get
(self)
main.py:236
Method
get
(self)
main.py:259
Method
get
(self)
main.py:265
Method
post
(self)
main.py:109
Method
post
(self)
main.py:143
Method
post
(self)
main.py:218
Method
post
(self)
main.py:239
Method
session
Shortcut to access the current session.
main.py:70
Method
user
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
Method
user_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
Method
user_model
Returns the implementation of the user model. It is consistent with config['webapp2_extras.auth']['user_model'], if set.
main.py:62
Function
user_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