Commit 57b912d
refactor(security): auth-deprecation Phase A — remove dead zero_trust + token_manager
Both modules had zero live importers (multi-user auth obsolete under single-mode/OS-auth). Deleted backend/security/zero_trust.py (792 LOC) + token_manager.py (390 LOC). Removed the zero_trust-only test file + the TestZeroTrust class/import in test_core_infrastructure.py. Split test_token_and_vulnerability_coverage.py: token tests dropped, vulnerability_scanner tests preserved in new test_vulnerability_coverage.py (vulnerability_scanner stays).
Verified: tests/security/ + tests/unit/test_core_infrastructure.py 379 passed; ruff clean; no remaining references anywhere.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fdd55f5 commit 57b912d
6 files changed
Lines changed: 100 additions & 1534 deletions
File tree
- backend/security
- tests
- security
- unit
This file was deleted.
0 commit comments