qctrl-client 9.2.0__tar.gz → 9.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/PKG-INFO +1 -1
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/pyproject.toml +2 -2
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/password.py +7 -1
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/LICENSE +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/README.md +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/__init__.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/__init__.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/api_key.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/base.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/cli.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/constants.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/helpers.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/keycloak.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/mixins.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/oidc.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/redirect_listener.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/service_account.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/auth/token_exchange.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/client.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/exceptions.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/pytest_plugin.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/transports/__init__.py +0 -0
- {qctrl_client-9.2.0 → qctrl_client-9.2.1}/qctrlclient/transports/requests_transport.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "qctrl-client"
|
|
3
|
-
version = "9.2.
|
|
3
|
+
version = "9.2.1"
|
|
4
4
|
description = "Q-CTRL Client"
|
|
5
5
|
license = "https://q-ctrl.com/terms"
|
|
6
6
|
authors = ["Q-CTRL <support@q-ctrl.com>"]
|
|
@@ -86,7 +86,7 @@ pytest-cov = "^4.1.0"
|
|
|
86
86
|
pytest-mock = "^3.12.0"
|
|
87
87
|
pylint = "^2.14.4"
|
|
88
88
|
pylint_runner = "^0.6.0"
|
|
89
|
-
black = "^
|
|
89
|
+
black = "^24.3.0"
|
|
90
90
|
isort = "^5.12.0"
|
|
91
91
|
pre-commit = "^3.5.0"
|
|
92
92
|
|
|
@@ -49,7 +49,13 @@ class PasswordAuth(OidcSessionAuth):
|
|
|
49
49
|
|
|
50
50
|
def _create_session(self):
|
|
51
51
|
client = LegacyApplicationClient(client_id=self._client_id)
|
|
52
|
-
return OAuth2Session(
|
|
52
|
+
return OAuth2Session(
|
|
53
|
+
client=client,
|
|
54
|
+
auto_refresh_kwargs={
|
|
55
|
+
"client_id": self._client_id,
|
|
56
|
+
"client_secret": self._client_secret,
|
|
57
|
+
},
|
|
58
|
+
)
|
|
53
59
|
|
|
54
60
|
def _authenticate(self):
|
|
55
61
|
self._oidc_session.fetch_token(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|