Package-level declarations

Types

Link copied to clipboard

Deletes an existing user aggregate when the provided identifier can be resolved.

Link copied to clipboard

Application use case for retrieving a user by identifier.

Link copied to clipboard
class LoginUserUseCase(userRepository: UserRepository, credentialsRepository: UserCredentialsRepository, passwordHasher: PasswordHasher, timeProvider: TimeProvider) : LoginUser

Authenticates a user using either email or username and validates the provided password.

Link copied to clipboard
class RegisterUserUseCase(userRepository: UserRepository, credentialsRepository: UserCredentialsRepository, hasher: PasswordHasher, mailer: Mailer) : RegisterUser

Use case for registering a new user in the system.

Link copied to clipboard

Updates the persisted user profile information for an existing user.

Link copied to clipboard
class UpdateUserPasswordUseCase(userRepository: UserRepository, credentialsRepository: UserCredentialsRepository, passwordHasher: PasswordHasher, timeProvider: TimeProvider) : UpdateUserPassword

Updates a user's password after validating identity, lockout state, and the current password.

Link copied to clipboard

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