mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add TenantMiddleware struct with tenant service and logger fields - Add ExtractTenantFromHeader and ExtractTenantFromAPIKey methods for tenant identification from headers, subdomains, and API keys - Add RequireTenant middleware with header and API key extraction fallback and tenant access validation - Add RequireTenantRole middleware with role-based access control for multiple required roles