TorbatYar/backend/shared-lib/shared/auth/__init__.py
Mortezakoohjani 800b0ba2c5 Deploy TorbatYar for torbatyar.ir with nginx multi-tenant routing.
Wire production domain, CORS for tenant subdomains, celery volume mounts, and nginx reverse proxy configs for apex, API, identity, auth, and wildcard tenants.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 21:43:33 +03:30

13 lines
352 B
Python

"""ابزارهای مشترک احراز هویت و مجوزدهی بین سرویس‌های backend."""
from shared.auth.jwt import JWTSettings, JWTValidator
from shared.auth.roles import PlatformRole, has_any_role, has_role
__all__ = [
"JWTSettings",
"JWTValidator",
"PlatformRole",
"has_role",
"has_any_role",
]