<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_token(self):
 """Make request in API to generate a token."""


        response = self._make_request()
        self.auth = response
        self.token = response['token']