Files
backend/src/resources/userstoreresource.py
Torma Kristóf 20991dd50f
All checks were successful
continuous-integration/drone/push Build is passing
better organization
2020-11-26 08:06:16 +01:00

18 lines
398 B
Python

"""
Base resource with user handling
"""
__author__ = '@tormakris'
__copyright__ = "Copyright 2020, onSpot Team"
__module_name__ = "userstoreresource"
__version__text__ = "1"
from flask_restful import Resource
from utils.aes_encrypt import EncryptedUserRedis
from utils.config import ENCODED_SECRET_KEY
class UserStoreResource(Resource):
encryptor = EncryptedUserRedis(ENCODED_SECRET_KEY)