Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot CompareIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Expr Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body ImportFrom alias Assign NameStore ListLoad NameLoad NameLoad Str NameLoad NameLoad Str NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr Str body Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Import alias Assign NameStore BinOpAdd Call NameLoad Str Assign NameStore Call NameLoad Str keyword Call NameLoad NameLoad keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str body Return NameLoad orelse Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Kay authentication backend with user information stored in the
datastore.

:Copyright: (c) 2009 Accense Technology, Inc. 
                     Takashi Matsuo <tmatsuo@candit.jp>,
                     All rights reserved.
:license: BSD, see LICENSE for more details.
 google.appengine.ext db werkzeug.urls url_quote_plus werkzeug.utils import_string kay.exceptions ImproperlyConfigured kay.conf settings kay.utils local url_for kay.auth.models AnonymousUser kay.misc get_appid DatastoreBackend N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A import_string N/A settings AUTH_USER_MODEL N/A N/A N/A kay.sessions.middleware.SessionMiddleware N/A settings MIDDLEWARE_CLASSES N/A N/A N/A ImproperlyConfigured The DatastoreBackend requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'kay.sessions.middleware.SessionMiddleware'. N/A get_user N/A N/A self request N/A N/A N/A N/A N/A N/A request session has_key _user N/A N/A N/A N/A db get N/A N/A request session N/A _user N/A N/A N/A AnonymousUser N/A create_login_url N/A N/A self url N/A N/A N/A N/A url_for auth/login next N/A url_quote_plus url N/A create_logout_url N/A N/A self url N/A N/A N/A N/A url_for auth/logout next N/A url_quote_plus url N/A store_user N/A N/A self user N/A N/A kay.sessions renew_session N/A N/A renew_session N/A local request N/A N/A N/A N/A local request session N/A _user N/A N/A user key N/A True N/A login N/A N/A self request user_name password N/A N/A N/A N/A N/A auth_model_class N/A import_string N/A settings AUTH_USER_MODEL N/A N/A N/A N/A ImportError AttributeError N/A e N/A N/A ImproperlyConfigured N/A Failed to import %s: "%s". N/A N/A settings AUTH_USER_MODEL e N/A user N/A N/A auth_model_class get_by_user_name user_name N/A N/A user None N/A N/A False N/A N/A N/A user check_password password N/A N/A N/A N/A self store_user user N/A False N/A test_login_or_logout N/A N/A self client username N/A N/A cookielib Cookie N/A args N/A None None None None / None None 86400 None None None None N/A N/A N/A auth_model_class N/A import_string N/A settings AUTH_USER_MODEL N/A N/A N/A N/A ImportError AttributeError N/A e N/A N/A ImproperlyConfigured N/A Failed to import %s: "%s". N/A N/A settings AUTH_USER_MODEL e N/A user N/A N/A auth_model_class get_by_user_name username N/A session_store N/A N/A import_string N/A settings SESSION_STORE N/A data None N/A cookie N/A client cookie_jar N/A N/A N/A N/A cookie name N/A settings COOKIE_NAME N/A N/A data N/A cookie value N/A N/A data None N/A N/A session N/A N/A session_store new N/A N/A session N/A N/A session_store get data N/A user N/A N/A N/A session N/A _user N/A N/A user key N/A N/A N/A N/A session has_key _user N/A N/A N/A session N/A _user N/A N/A N/A session_store save session N/A data N/A "%s" N/A N/A session_store get_data session N/A N/A N/A N/A client cookie_jar set_cookie N/A Cookie 1 N/A settings COOKIE_NAME data args N/A test_login N/A N/A self client username N/A N/A N/A N/A N/A self test_login_or_logout client username N/A test_logout N/A N/A self client N/A N/A N/A N/A N/A self test_login_or_logout client N/A N/A DatastoreBackendWithOwnedDomainHack N/A DatastoreBackend N/A store_user N/A N/A self user N/A N/A kay.auth.models TemporarySession N/A session N/A N/A TemporarySession get_new_session user N/A session N/A create_login_url N/A N/A self url N/A N/A N/A os N/A hostname N/A N/A get_appid .appspot.com N/A url N/A url_for auth/login next N/A url_quote_plus url original_host_url N/A url_quote_plus N/A N/A local request host_url owned_domain_hack True N/A N/A N/A SERVER_SOFTWARE N/A os environ N/A N/A N/A N/A os environ N/A SERVER_SOFTWARE startswith Dev N/A N/A url N/A N/A N/A https://%s%s N/A hostname url N/A N/A