TIDE/backend/app/Auth
yisroel 0697e4af69
implement CreateSession use case
generates token via injected TokenGenerator, asks Clock for now,
sets expiry to now+7d, persists through SessionRepository->create
and returns the resulting Session. all 31 tests pass.
2026-05-06 15:15:25 +03:00
..
UseCases implement CreateSession use case 2026-05-06 15:15:25 +03:00
BcryptPasswordHasher.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00
Clock.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00
CreateSessionDto.php add Session entity, persistence, fake 2026-05-06 15:12:07 +03:00
EloquentSessionRepository.php add Session entity, persistence, fake 2026-05-06 15:12:07 +03:00
PasswordHasher.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00
RandomTokenGenerator.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00
Session.php add Session entity, persistence, fake 2026-05-06 15:12:07 +03:00
SessionModel.php add Session entity, persistence, fake 2026-05-06 15:12:07 +03:00
SessionRepository.php add Session entity, persistence, fake 2026-05-06 15:12:07 +03:00
SystemClock.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00
TokenGenerator.php add auth utility interfaces and impls 2026-05-06 15:11:19 +03:00