Package it.univr.passportease.helper.map
Class MapUser
java.lang.Object
it.univr.passportease.helper.map.MapUser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapRegisterInputDBToUser
(RegisterInputDB registerInputDB) MapRegisterInputDB
toUser
.mapUserToLoginOutput
(User user, JWT accessToken) MapUser
toLoginOutput
.
-
Constructor Details
-
MapUser
public MapUser()
-
-
Method Details
-
mapRegisterInputDBToUser
MapRegisterInputDB
toUser
.- Parameters:
registerInputDB
-RegisterInputDB
to map.- Returns:
User
mapped.
-
mapUserToLoginOutput
MapUser
toLoginOutput
.- Parameters:
user
-User
to map.accessToken
-JWT
to map.- Returns:
LoginOutput
mapped.
-