feat: totp 2fa; httpcontext extension for jwtuser; asp.net data protection; prevent banned users from certain actions; account deletion requires 2fa if enabled; making users admins requires 2fa if enabled; httpcontext extension to get ip; enhance user store

refactor: organize dtos by domain; verification providers use verification context; move ip parsing into http context extensions
chore: clean code
This commit is contained in:
2026-01-07 16:36:41 -05:00
parent 361cf76f46
commit 20ceb91db8
46 changed files with 1568 additions and 162 deletions
+1
View File
@@ -9,6 +9,7 @@ services:
ASPNETCORE_ENVIRONMENT: Production
ConnectionStrings__DefaultConnection: "Data Source=/app/data/sharpbin.db"
ASPNETCORE_URLS: "http://+:8080"
DATA_PROTECTION_KEY_PATH: "/app/data/keys"
volumes:
- sharpbin-data:/app/data
- ./SharpbinV3.Server/appsettings.json:/app/appsettings.json