Repository: auth0/auth0-python

Issue:
Connections.all() should accept name
### Checklist

- [X] I have looked into the [Readme](https://github.com/auth0/auth0-python#readme) and [Examples](https://github.com/auth0/auth0-python/blob/master/EXAMPLES.md), and have not found a suitable solution or answer.
- [X] I have looked into the [API documentation](https://auth0-python.readthedocs.io/en/latest/) and have not found a suitable solution or answer.
- [X] I have searched the [issues](https://github.com/auth0/auth0-python/issues) and have not found a suitable solution or answer.
- [X] I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md).

### Describe the problem you'd like to have solved

I would like this library to have closer parity with the Auth0 Management API, especially when it comes to available parameters. The Connections.all() method should accept a `name` argument to retrieve a Connection by name.

### Describe the ideal solution

The Connections.all() method should accept a `name` argument to retrieve a Connection by name.

### Alternatives and current workarounds

Retrieve all connections and iterate through results to see if a Connection name matches.

### Additional context

_No response_

Discussion:

Patch:
diff --git a/auth0/management/connections.py b/auth0/management/connections.py
index d807607..b6492bf 100644
--- a/auth0/management/connections.py
+++ b/auth0/management/connections.py
@@ -52,6 +52,7 @@ class Connections:
         page=None,
         per_page=None,
         extra_params=None,
+        name=None,
     ):
         """Retrieves all connections.
 
@@ -76,6 +77,8 @@ class Connections:
              the request. The fields, include_fields, page and per_page values
              specified as parameters take precedence over the ones defined here.
 
+           name (str): Provide the name of the connection to retrieve.
+
         See: https://auth0.com/docs/api/management/v2#!/Connections/get_connections
 
         Returns:
@@ -88,6 +91,7 @@ class Connections:
         params["include_fields"] = str(include_fields).lower()
         params["page"] = page
         params["per_page"] = per_page
+        params["name"] = name
 
         return self.client.get(self._url(), params=params)
 


Test patch:
diff --git a/auth0/test/management/test_connections.py b/auth0/test/management/test_connections.py
index 69c0714..1f27de6 100644
--- a/auth0/test/management/test_connections.py
+++ b/auth0/test/management/test_connections.py
@@ -33,6 +33,7 @@ class TestConnection(unittest.TestCase):
                 "page": None,
                 "per_page": None,
                 "include_fields": "true",
+                "name": None,
             },
         )
 
@@ -50,6 +51,7 @@ class TestConnection(unittest.TestCase):
                 "page": None,
                 "per_page": None,
                 "include_fields": "false",
+                "name": None,
             },
         )
 
@@ -67,6 +69,7 @@ class TestConnection(unittest.TestCase):
                 "page": None,
                 "per_page": None,
                 "include_fields": "true",
+                "name": None,
             },
         )
 
@@ -84,6 +87,7 @@ class TestConnection(unittest.TestCase):
                 "page": 7,
                 "per_page": 25,
                 "include_fields": "true",
+                "name": None,
             },
         )
 
@@ -102,6 +106,25 @@ class TestConnection(unittest.TestCase):
                 "per_page": None,
                 "include_fields": "true",
                 "some_key": "some_value",
+                "name": None,
+            },
+        )
+
+        # Name
+        c.all(name="foo")
+
+        args, kwargs = mock_instance.get.call_args
+
+        self.assertEqual("https://domain/api/v2/connections", args[0])
+        self.assertEqual(
+            kwargs["params"],
+            {
+                "fields": None,
+                "strategy": None,
+                "page": None,
+                "per_page": None,
+                "include_fields": "true",
+                "name": "foo",
             },
         )