VerifyUserEmailUseCase

Verifies a user's email address by comparing the provided one-time key with the expected value.

On success, the user is marked as verified and the updated aggregate is persisted.

Constructors

Link copied to clipboard
constructor(userRepository: UserRepository, hasher: PasswordHasher)

Functions

Link copied to clipboard