diff options
Diffstat (limited to 'thallium-backend/src/auth.py')
-rw-r--r-- | thallium-backend/src/auth.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/thallium-backend/src/auth.py b/thallium-backend/src/auth.py index 56987a8..6a92a5c 100644 --- a/thallium-backend/src/auth.py +++ b/thallium-backend/src/auth.py @@ -1,7 +1,6 @@ import logging import typing as t from datetime import UTC, datetime, timedelta -from enum import IntFlag from uuid import uuid4 import jwt @@ -17,13 +16,6 @@ from src.settings import CONFIG, DBSession log = logging.getLogger(__name__) -class UserTypes(IntFlag): - """All types of users.""" - - VOUCHER_USER = 2**0 - REGULAR_USER = 2**1 - - class TokenAuth(HTTPBearer): """Ensure all requests with this auth enabled include an auth header with the expected token.""" |