def METHOD_NAME(self):
    if hasattr(self, "_sfdx_info"):
        return self._sfdx_info
    # On-demand creation of scratch orgs
    if self.createable and not self.created:
        self.create_org()
    username = self.config.get("username")
    assert username is not None, "SfdxOrgConfig must have a username"
    self.logger.info(f"Getting org info from Salesforce CLI for {username}")
    # Call force:org:display and parse output to get instance_url and
    # access_token
    p = sfdx("force:org:display --json", self.username)
    org_info = None
    stderr_list = [line.strip() for line in p.stderr_text]
    stdout_list = [line.strip() for line in p.stdout_text]
    if p.returncode:
        self.logger.error(f"Return code: {p.returncode}")
        for line in stderr_list:
            self.logger.error(line)
        for line in stdout_list:
            self.logger.error(line)
        message = f"\nstderr:\n{nl.join(stderr_list)}"
        message += f"\nstdout:\n{nl.join(stdout_list)}"
        raise SfdxOrgException(message)
    else:
        try:
            org_info = json.loads("".join(stdout_list))
        except Exception as e:
            raise SfdxOrgException(
                "Failed to parse json from output.\n  "
                f"Exception: {e.__class__.__name__}\n  Output: {''.join(stdout_list)}"
            )
        org_id = org_info["result"]["accessToken"].split("!")[0]
    METHOD_NAME = {
        "instance_url": org_info["result"]["instanceUrl"],
        "access_token": org_info["result"]["accessToken"],
        "org_id": org_id,
        "username": org_info["result"]["username"],
    }
    if org_info["result"].get("password"):
        METHOD_NAME["password"] = org_info["result"]["password"]
    self._sfdx_info = METHOD_NAME
    self._sfdx_info_date = datetime.datetime.utcnow()
    self.config.update(METHOD_NAME)
    METHOD_NAME.update(
        {
            "created_date": org_info["result"].get("createdDate"),
            "expiration_date": org_info["result"].get("expirationDate"),
        }
    )
    return METHOD_NAME