Class UserRegistrationCallbackDTO


  • public class UserRegistrationCallbackDTO
    extends java.lang.Object
    DTO class for sending User and token back to client when creating a user
    • Constructor Detail

      • UserRegistrationCallbackDTO

        public UserRegistrationCallbackDTO​(java.lang.String token,
                                           long userId,
                                           UserWithPasswordDTO userPasswordDTO)
    • Method Detail

      • getToken

        public java.lang.String getToken()
      • setToken

        public void setToken​(java.lang.String token)
      • getUser

        public UserDTO getUser()
      • setUser

        public void setUser​(UserDTO user)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object