Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user.RegisterRequest
Packages that use RegisterRequest
Package
Description
-
Uses of RegisterRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type RegisterRequestModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<LoginRegisterResponse> AuthenticationController.register
(RegisterRequest registerRequest) Registers a new user with a given username, password, email, first name and last name -
Uses of RegisterRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type RegisterRequestModifier and TypeMethodDescriptionRegisterMapper.toEntity
(RegisterRequest request, Role role, String encodedPassword) Maps User register DTO to entity -
Uses of RegisterRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type RegisterRequestModifier and TypeMethodDescriptionAuthenticationService.register
(RegisterRequest request) Registers a new, valid user. -
Uses of RegisterRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.user
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.user with parameters of type RegisterRequestModifier and TypeMethodDescriptionvoid
UserValidator.validateRegisterRequestDTO
(RegisterRequest request) Validates DTO fields used for creating new user