def METHOD_NAME(saas_config):
    return {
        "domain": pydash.get(saas_config, "friendbuy_nextgen.domain")
        or secrets["domain"],
        "key": pydash.get(saas_config, "friendbuy_nextgen.key") or secrets["key"],
        "secret": pydash.get(saas_config, "friendbuy_nextgen.secret")
        or secrets["secret"],
    }