Uses of Class
vn.edu.uit.csbu.software_design.software_design_backend.account.accountResponseDTO
Packages that use accountResponseDTO
-
Uses of accountResponseDTO in vn.edu.uit.csbu.software_design.software_design_backend.account
Methods in vn.edu.uit.csbu.software_design.software_design_backend.account that return types with arguments of type accountResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<accountResponseDTO> Deletes the authenticated user's account.org.springframework.http.ResponseEntity<accountResponseDTO> accountService.deleteAccount(String token) The `deleteAccount` function deletes an account and related data if it exists based on the provided token.org.springframework.http.ResponseEntity<accountResponseDTO> accountController.getFollowerCount(String token) This Java function retrieves the follower count for a user account using the provided authorization token.org.springframework.http.ResponseEntity<accountResponseDTO> accountController.getFollowing(String token) Retrieves the stream key for the authenticated user.org.springframework.http.ResponseEntity<accountResponseDTO> accountController.getStreamKey(String token) Retrieves the stream key for the authenticated user.org.springframework.http.ResponseEntity<accountResponseDTO> accountController.login(accountRequest account) Authenticates a user and generates a login token.org.springframework.http.ResponseEntity<accountResponseDTO> accountController.update(String token, String type, accountRequest account) Updates user account information based on the specified type parameter.org.springframework.http.ResponseEntity<accountResponseDTO> accountService.updateDescription(String token, Optional<String> data) The function `updateDescription` takes a token and optional data to update the description of an account, checking for XSS attacks before saving the changes.org.springframework.http.ResponseEntity<accountResponseDTO> accountService.updatePassword(String token, Optional<String> data) The function `updatePassword` takes a token and optional password data, updates the password for the account associated with the token, and returns a response entity with the result.org.springframework.http.ResponseEntity<accountResponseDTO> accountService.updateTitle(String token, Optional<String> data) The function `updateTitle` takes a token and optional data to update the title of an account, checking for XSS attacks before saving the changes and returning a response.org.springframework.http.ResponseEntity<accountResponseDTO> accountService.updateUsername(String token, Optional<String> data) The function `updateUsername` takes a token and optional data to update the username in the database, handling XSS detection and existing username conflicts.