def METHOD_NAME(self) -> requests.models.Response:
    """
    This method should be called to get an API token using an
    authorization context body.
    :return: Response object result of the login request.
    """
    # Obtain Splunk's user context.
    users: str = splunk_auth.listUsers().__str__()
    users: dict = utils.to_json(users)
    auth_context = users[self.api._user]
    auth_context['name'] = self.api._user
    auth_context['user_name'] = self.api._user
    self.logger.debug("wazuh-token: using auth context")
    try:
        return self.session.post(
            f"{self.api.get_url()}/security/user/authenticate/run_as",
            auth=self.api.get_auth(),
            json=auth_context,
            timeout=self.timeout,
            verify=False
        )
    except Exception as e:
        self.logger.error(
            "wazuh-token: error on auth_context_login: %s" % (e))
        raise e