RLH-4 - Implement /users/delete API

This commit is contained in:
2024-11-03 17:58:00 +01:00
parent c5315daf41
commit a87c692a25
4 changed files with 24 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
import wtf.beatrice.releasehive.models.User;
import java.util.List;
import java.util.UUID;
public interface UserService
{
@@ -13,5 +14,5 @@ public interface UserService
User loadUserByEmail(String email) throws UsernameNotFoundException;
void deleteUser(String email);
boolean deleteUser(UUID id);
}