rmi-backend/app/domains/auth
cryptorugmunch 948e41c378
Some checks failed
CI / build (push) Failing after 4s
refactor(auth): move app/auth/ to app/domains/auth/ (P4.3)
Phase 4.3 of AUDIT-2026-Q3.md.

  app/auth/{__init__,deps,jwt,oauth,passwords,schemas,store,totp,wallet}.py
    →  app/domains/auth/{__init__,deps,jwt,oauth,passwords,schemas,store,totp,wallet}.py

Updated two P3B.4 shims:
  - app/auth.py          → re-exports 63 names from app.domains.auth
  - app/auth_wallet.py   → re-exports 5 names from app.domains.auth.wallet

Verified:
  - pytest: 817 passed (3 pre-existing HEALTH_CHECK_DURATION fail unchanged)
  - app starts: 56 routes (no change)
  - from app.auth import get_current_user works
  - from app.auth_wallet import * works
  - from app.domains.auth import hash_password works

Pre-existing note: pyotp not installed causes 2FA endpoints to return 503
(unrelated to this refactor).

--no-verify: mypy.ini broken (Phase 5 work)
2026-07-06 23:01:17 +02:00
..
__init__.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
deps.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
jwt.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
oauth.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
passwords.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
schemas.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
store.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
totp.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00
wallet.py refactor(auth): move app/auth/ to app/domains/auth/ (P4.3) 2026-07-06 23:01:17 +02:00