mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-27 23:00:53 +00:00
- Add pyproject.toml with uv and ruff configuration - Pin Python version to 3.13 via .python-version - Add Makefile commands: lint, format, fix - Apply ruff formatting to entire codebase - Remove unused imports (base64 in yookassa/simple_subscription) - Update .gitignore for new config files
23 lines
538 B
Python
23 lines
538 B
Python
"""Cabinet authentication module."""
|
|
|
|
from .jwt_handler import (
|
|
create_access_token,
|
|
create_refresh_token,
|
|
decode_token,
|
|
get_token_payload,
|
|
)
|
|
from .password_utils import hash_password, verify_password
|
|
from .telegram_auth import validate_telegram_init_data, validate_telegram_login_widget
|
|
|
|
|
|
__all__ = [
|
|
'create_access_token',
|
|
'create_refresh_token',
|
|
'decode_token',
|
|
'get_token_payload',
|
|
'hash_password',
|
|
'validate_telegram_init_data',
|
|
'validate_telegram_login_widget',
|
|
'verify_password',
|
|
]
|