mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-01-20 03:40:26 +00:00
- 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>
22 lines
537 B
Python
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",
|
|
]
|