Spaces:
Runtime error
Runtime error
File size: 468 Bytes
59f2028 8e485f9 59f2028 da8ce94 59f2028 8e485f9 59f2028 8e485f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | """
Authentication module
"""
from .models import User, BlacklistedToken, RefreshToken
from .utils import token_required, anonymize_username
from .json_database import ensure_database_initialized
from .routes import auth_bp
# IMPORTANT: initialize JSON DB at startup
ensure_database_initialized()
__all__ = [
"User",
"BlacklistedToken",
"RefreshToken",
"token_required",
"anonymize_username",
"ensure_database_initialized",
"auth_bp",
]
|