Goal-Calibration/app/User/UseCases
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
..
AuthenticateUser.php inject PasswordHasher into CreateUser and AuthenticateUser 2026-04-26 09:06:21 +03:00
AuthenticateUserRequest.php add authenticate user request 2026-04-24 13:20:30 +03:00
CreateUser.php inject PasswordHasher into CreateUser and AuthenticateUser 2026-04-26 09:06:21 +03:00
CreateUserDto.php add password hash to create user dto 2026-04-24 13:18:24 +03:00
CreateUserRequest.php add password to create user request 2026-04-24 13:18:15 +03:00