Files
remnawave-bedolaga-telegram…/app/cabinet/auth/__init__.py
PEDZEO 6b69ec750e feat: add cabinet (personal account) backend API
- Add JWT authentication for cabinet users
- Add Telegram WebApp authentication
- Add subscription management endpoints
- Add balance and transactions endpoints
- Add referral system endpoints
- Add tickets support for cabinet
- Add webhooks and websocket for real-time updates
- Add email verification service

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 23:20:20 +03:00

22 lines
537 B
Python

"""Cabinet authentication module."""
from .password_utils import hash_password, verify_password
from .jwt_handler import (
create_access_token,
create_refresh_token,
decode_token,
get_token_payload,
)
from .telegram_auth import validate_telegram_login_widget, validate_telegram_init_data
__all__ = [
"hash_password",
"verify_password",
"create_access_token",
"create_refresh_token",
"decode_token",
"get_token_payload",
"validate_telegram_login_widget",
"validate_telegram_init_data",
]