parameters: (self, cl, auth)
return_statement: return self._manager.authorize_user(username)
docstring: Overrides to use cookie + db for Bayeux authentication.
docstring_summary: Overrides to use cookie + db for Bayeux authentication.
docstring_tokens: Overrides to use cookie + db for Bayeux authentication .
function: def on_auth_ext(self, cl, auth):
          '''Overrides to use cookie + db for Bayeux authentication.'''
          username = self._handler.current_user
          if username is None: return False
          # check credentials in the db
          return self._manager.authorize_user(username)
function_tokens: def on_auth_ext ( self , cl , auth ) : username = self . _handler . current_user if username is None : return False # check credentials in the db return self . _manager . authorize_user ( username )