Class UserRegistrationCallbackDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.User.UserRegistrationCallbackDTO
-
public class UserRegistrationCallbackDTO extends java.lang.Object
DTO class for sending User and token back to client when creating a user
-
-
Constructor Summary
Constructors Constructor Description UserRegistrationCallbackDTO(java.lang.String token, long userId, UserWithPasswordDTO userPasswordDTO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getToken()
UserDTO
getUser()
void
setToken(java.lang.String token)
void
setUser(UserDTO user)
java.lang.String
toString()
-
-
-
Constructor Detail
-
UserRegistrationCallbackDTO
public UserRegistrationCallbackDTO(java.lang.String token, long userId, UserWithPasswordDTO userPasswordDTO)
-
-