RezinaLMS-BackEnd/internal/web_server
n3p-tun3 a81fe3cd19 feat(auth): add learner device sessions with a 2-device limit
- Track learner sessions and revoke them immediately on every request
- Add a device replacement challenge for logins over the limit
- Add learner and admin endpoints to list and remove devices
- Trim excess sessions when enforcement is enabled
- Stop logging refresh tokens and authorization headers

Enforcement is off by default through DEVICE_LIMIT_ENFORCED.
2026-11-23 17:38:48 +03:00
..
fileurls Initial commit 2026-10-19 17:59:34 +03:00
handlers feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
jwt feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
response Adapt backend and demo curriculum for makeup artistry and clean up services 2026-11-02 13:09:31 +03:00
validator Improve validation error messages for oneof failures. 2026-07-30 00:02:17 -07:00
ws Prefix admin panel APIs and preserve customer API paths 2026-10-28 22:56:34 +03:00
api_audience_test.go Implement chapter-based learning, public catalog, and demo fixtures 2026-11-01 13:38:28 +03:00
api_audience.go Prefix admin panel APIs and preserve customer API paths 2026-10-28 22:56:34 +03:00
api_docs_test.go Complete Swagger documentation and validate API contracts 2026-10-28 23:11:18 +03:00
api_docs.go Add offline Swagger documentation export 2026-10-29 12:21:10 +03:00
app.go fix: header normalization fixed in server 2026-11-01 14:58:54 +03:00
content_access_middleware.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
cors_test.go fix: header normalization fixed in server 2026-11-01 14:58:54 +03:00
course_purchase_middleware_test.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
course_purchase_middleware.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
cron.go user and auth service refactoring, notification service SQL + repository adjustment 2025-12-16 18:05:57 +03:00
learning_swagger_test.go Implement chapter-based learning, public catalog, and demo fixtures 2026-11-01 13:38:28 +03:00
middleware.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
routes_admin.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
routes_client.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
routes_integration.go Prefix admin panel APIs and preserve customer API paths 2026-10-28 22:56:34 +03:00
routes.go Prefix admin panel APIs and preserve customer API paths 2026-10-28 22:56:34 +03:00
session_middleware_test.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
subscription_access_test.go Enforce LMS subscriptions and add configurable referral commissions 2026-10-28 17:51:56 +03:00
swagger_contract_test.go Document detailed Swagger response schemas for every API 2026-11-01 14:02:47 +03:00
swagger_response_schema_test.go Document detailed Swagger response schemas for every API 2026-11-01 14:02:47 +03:00