C#C
C#3y ago
Obel

❔ Retrieving a token from a login function

Im currently supposed to login from one endpoint, and retrieve extra user information from another, i need to return both a token and the user data with just one responseObject. The token is needed to retrieve the userinformation, I currently have a LoginService that returns a token on a succesful login, how can i ''merge'' the 2 pieces of information, and return it as one responseObject?
Was this page helpful?