RezinaLMS-BackEnd/internal/ports
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
..
activity_log.go Initial commit 2026-10-19 17:59:34 +03:00
auth.go feat(auth): add learner device sessions with a 2-device limit 2026-11-23 17:38:48 +03:00
course_purchase.go Add course purchases and affiliate program with documented APIs 2026-11-20 22:39:13 +03:00
email_template.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_assessment.go Unify LMS hierarchy and assessment support 2026-10-22 13:47:22 +03:00
exam_prep_catalog_course.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_lesson.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_module.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_practice.go Initial commit 2026-10-19 17:59:34 +03:00
exam_prep_unit.go Initial commit 2026-10-19 17:59:34 +03:00
faq.go Initial commit 2026-10-19 17:59:34 +03:00
lms_course.go Initial commit 2026-10-19 17:59:34 +03:00
lms_lesson.go Initial commit 2026-10-19 17:59:34 +03:00
lms_module.go Initial commit 2026-10-19 17:59:34 +03:00
lms_persona.go Initial commit 2026-10-19 17:59:34 +03:00
lms_practice.go Initial commit 2026-10-19 17:59:34 +03:00
mobile_app_version.go Initial commit 2026-10-19 17:59:34 +03:00
notification.go Initial commit 2026-10-19 17:59:34 +03:00
payment.go Initial commit 2026-10-19 17:59:34 +03:00
practice_stimulus_blocks.go Initial commit 2026-10-19 17:59:34 +03:00
profile_field_option.go Initial commit 2026-10-19 17:59:34 +03:00
program.go Initial commit 2026-10-19 17:59:34 +03:00
questions.go Adapt LMS backend for makeup education 2026-10-20 13:41:40 +03:00
rating.go Initial commit 2026-10-19 17:59:34 +03:00
rbac.go Initial commit 2026-10-19 17:59:34 +03:00
settings.go Initial commit 2026-10-19 17:59:34 +03:00
subscriptions.go Initial commit 2026-10-19 17:59:34 +03:00
team.go Initial commit 2026-10-19 17:59:34 +03:00
transaction.go user and auth service refactoring, notification service SQL + repository adjustment 2025-12-16 18:05:57 +03:00
user.go Adapt LMS backend for makeup education 2026-10-20 13:41:40 +03:00