code: def login(self):
          
          self._username = input("Username:")
          self._password = getpass.getpass("Password:")
          if self.get_auth_token():
              _LOGGER.debug("Login successful!")
              return True
          _LOGGER.warning("Unable to login with %s.", self._username)
          return False
docs: Prompt user for username and password.