cheetahapi/core/authenticate.py
def create_new_token(self, user_id):
        """
        Creates a new token in the database for the user id and returns the new token string created
        :param user_id: Integer users identifier
        :return: String token
        """
        db_manager = DbAuthenticate(self.get_db_config_dict())
        return db_manager.create_new_token(user_id)

        Creates a new token in the database for the user id and returns the new token string created
        :param user_id: Integer users identifier
        :return: String token
        
Creates a new token in the database for the user id and returns the new token string created
Creates a new token in the database for the user id and returns the new token string created
def create_new_token(self, user_id):
        db_manager = DbAuthenticate(self.get_db_config_dict())
        return db_manager.create_new_token(user_id)
def create_new_token ( self , user_id ) : db_manager = DbAuthenticate ( self . get_db_config_dict ( ) ) return db_manager . create_new_token ( user_id )
Creates a new token in the database for the user id and returns the new token string created
Creates a new token in the database for the user id and returns the new token string created
"""
        Creates a new token in the database for the user id and returns the new token string created
        :param user_id: Integer users identifier
        :return: String token
        """
None
self
user_id
Integer users identifier
Integer users identifier