Goal-Calibration/app/User
Yisroel Baum 632085f5b6
inject PasswordHasher into CreateUser and AuthenticateUser
Replace direct password_hash and password_verify calls with the
injected PasswordHasher so the bcrypt cost can be substituted out
in tests. Production wiring is handled by the container's autowiring
of BcryptPasswordHasher.

This commit alone breaks the test suite because the existing tests
construct these use cases without the new dependency; the next
commit restores green by introducing FakePasswordHasher.
2026-04-26 09:06:21 +03:00
..
UseCases inject PasswordHasher into CreateUser and AuthenticateUser 2026-04-26 09:06:21 +03:00
JsonUserRepository.php store password hash in json user repo 2026-04-24 13:19:15 +03:00
User.php add password hash to user entity 2026-04-24 13:18:33 +03:00
UserRepository.php add find by email to user repository 2026-04-24 13:16:11 +03:00