dak.c2s/backend/app
CCS Admin 178d40d036 feat: JWT auth, bcrypt, MFA, dependency injection, security tests
Add core security layer:
- security.py: password hashing (bcrypt), JWT access/refresh tokens,
  SHA-256 token hashing, TOTP MFA (generate, verify, provisioning URI),
  plus passlib/bcrypt 5.x compatibility patch
- dependencies.py: FastAPI deps for get_current_user (Bearer JWT) and
  require_admin (role check)
- exceptions.py: domain-specific HTTP exceptions (CaseNotFound,
  DuplicateCase, InvalidImportFile, ICDValidation, AccountLocked,
  InvalidCredentials)
- test_security.py: 9 tests covering all security functions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 07:41:35 +00:00
..
api feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
core feat: JWT auth, bcrypt, MFA, dependency injection, security tests 2026-02-24 07:41:35 +00:00
models feat: SQLAlchemy models for users, cases, reports, audit 2026-02-24 07:28:33 +00:00
schemas feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
services feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
utils feat: utility functions — fallgruppe mapping, KW calc, ICD/KVNR validation 2026-02-24 07:41:09 +00:00
__init__.py feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
config.py feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
database.py feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00
main.py feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00