Logout module

class use_cases.user.logout.Logout

Bases: object

Class to log out the user in the server

static response(user: entities.ent_user.User, server, args)entities.ent_user.User

Performs the logout of user in the server

Parameters
  • user – the user calling the logout method

  • server – IP where the server will be allocated

  • args – args to logout the user

Returns

user obj with the changes