AuthController class This class is responsible for handling the authentication routes in the API.
Constructor
The token use case
Login a user
The request object
The response object
The result of the login
Logout a user
The result of the logout
Register a new user
The result of the registration
AuthController class This class is responsible for handling the authentication routes in the API.