Uses of Record Class
com.alpaca.dto.response.AuthResponseDTO
Packages that use AuthResponseDTO
-
Uses of AuthResponseDTO in com.alpaca.controller
Methods in com.alpaca.controller that return types with arguments of type AuthResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<AuthResponseDTO> AuthController.login
(@Valid AuthRequestDTO requestDTO) Authenticates a user based on provided credentials.org.springframework.http.ResponseEntity
<AuthResponseDTO> AuthController.register
(@Valid AuthRequestDTO requestDTO) Registers a new user with the provided credentials. -
Uses of AuthResponseDTO in com.alpaca.service
Methods in com.alpaca.service that return AuthResponseDTOModifier and TypeMethodDescriptionAuthenticates a user based on the provided credentials.Registers a new user in the system. -
Uses of AuthResponseDTO in com.alpaca.service.impl
Methods in com.alpaca.service.impl that return AuthResponseDTOModifier and TypeMethodDescriptionAuthenticates a user using email and password and returns a JWT token wrapped in DTO.Registers a new user, assigns default role, and logs them in returning a JWT token.