"""
Auth API package aggregator.

Combines tokens_router, totp_router, and password_router under the /api/auth prefix.
Re-exports `limiter` from shared.py so that:
  from api.auth import limiter
continues to work in main.py and the 5 test files without modification (T-08-06-01).
"""
from fastapi import APIRouter
from api.auth.tokens import router as tokens_router
from api.auth.totp import router as totp_router
from api.auth.password import router as password_router
from api.auth.shared import limiter  # re-export: "from api.auth import limiter" still works

router = APIRouter(prefix="/api/auth", tags=["auth"])
router.include_router(tokens_router)
router.include_router(totp_router)
router.include_router(password_router)
