RLH-17 - Update Account APIs and implement rename

This commit is contained in:
2024-11-04 11:22:34 +01:00
parent a87c692a25
commit 5175cb89b5
6 changed files with 91 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
package wtf.beatrice.releasehive.services;
import org.apache.coyote.BadRequestException;
import wtf.beatrice.releasehive.dtos.EditUsernameAccountDto;
import wtf.beatrice.releasehive.dtos.LoginUserDto;
import wtf.beatrice.releasehive.dtos.RegisterUserDto;
import wtf.beatrice.releasehive.models.User;
@@ -11,4 +12,6 @@ public interface AccountService
User register(RegisterUserDto user) throws BadRequestException;
User authenticate(LoginUserDto user) throws BadRequestException;
String changeUsername(EditUsernameAccountDto editData) throws BadRequestException;
}