Hi again everyone 👋 I have another question, I’m still working in the authentication logic and my question is, does it make sense to have two data classes for the user (one for the user session and one for the user data)?
a
arnaud.giuliani
05/30/2023, 8:51 AM
one is inside the other then? but your link is a logical one with the user id
arnaud.giuliani
05/30/2023, 8:52 AM
user id -> auth data
user id -> user data
d
Daniel Beleza
05/30/2023, 11:52 PM
Hey Arnaud 😊 I’m still not sure if it makes sense to have two, or just a single user data class, which holds the encrypted password (not possible to get this through any endpoint)
a
arnaud.giuliani
05/31/2023, 6:21 AM
for the password, I would say just keep your credentials data