def create_action_token(self, action, expires_in):
        """
        Create a url safe action token attached to the user
        :param action:
        :param expires_in:
        :return:
        """
        return utils.sign_url_safe(self.user.id,
                                   secret_key=get_jwt_secret(),
                                   salt=action,
                                   expires_in=expires_in)
def create_action_token ( self , action , expires_in ) : return utils . sign_url_safe ( self . user . id , secret_key = get_jwt_secret ( ) , salt = action , expires_in = expires_in )
Create a url safe action token attached to the user
        :param action:
        :param expires_in:
        :return: