supabase_auth 2.5.3__tar.gz → 2.5.5__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.
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/PKG-INFO +2 -2
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/pyproject.toml +4 -4
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/__init__.py +1 -1
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/gotrue_base_api.py +3 -1
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/gotrue_client.py +3 -3
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/api.py +3 -1
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/gotrue_base_api.py +3 -1
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/LICENSE +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/README.md +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/__init__.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/gotrue_admin_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_async/storage.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/__init__.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/client.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/gotrue_admin_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/gotrue_client.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/_sync/storage.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/constants.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/errors.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/helpers.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/http_clients.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/timer.py +0 -0
- {supabase_auth-2.5.3 → supabase_auth-2.5.5}/supabase_auth/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: supabase_auth
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.5
|
|
4
4
|
Summary: Python Client Library for Supabase Auth
|
|
5
5
|
Home-page: https://github.com/supabase-community/auth-py
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
-
Requires-Dist: httpx (>=0.
|
|
18
|
+
Requires-Dist: httpx[http2] (>=0.24,<0.28)
|
|
19
19
|
Requires-Dist: pydantic (>=1.10,<3)
|
|
20
20
|
Project-URL: Documentation, https://github.com/supabase-community/auth-py
|
|
21
21
|
Project-URL: Repository, https://github.com/supabase-community/auth-py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "supabase_auth"
|
|
3
|
-
version = "2.5.
|
|
3
|
+
version = "2.5.5"
|
|
4
4
|
description = "Python Client Library for Supabase Auth"
|
|
5
5
|
authors = ["Joel Lee <joel@joellee.org>"]
|
|
6
6
|
homepage = "https://github.com/supabase-community/auth-py"
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
|
|
17
17
|
[tool.poetry.dependencies]
|
|
18
18
|
python = "^3.8"
|
|
19
|
-
httpx = ">=0.
|
|
19
|
+
httpx = {version = ">=0.24,<0.28", extras = ["http2"]}
|
|
20
20
|
pydantic = ">=1.10,<3"
|
|
21
21
|
|
|
22
22
|
[tool.poetry.dev-dependencies]
|
|
@@ -28,9 +28,9 @@ pre-commit = "^3.4.0"
|
|
|
28
28
|
pytest-cov = "^5.0.0"
|
|
29
29
|
pytest-depends = "^1.0.1"
|
|
30
30
|
pytest-asyncio = "^0.23.7"
|
|
31
|
-
Faker = "^
|
|
31
|
+
Faker = "^26.0.0"
|
|
32
32
|
unasync-cli = "^0.0.9"
|
|
33
|
-
python-semantic-release = "^9.8.
|
|
33
|
+
python-semantic-release = "^9.8.5"
|
|
34
34
|
|
|
35
35
|
[tool.poetry.group.dev.dependencies]
|
|
36
36
|
pygithub = ">=1.57,<3.0"
|
|
@@ -24,7 +24,9 @@ class AsyncGoTrueBaseAPI:
|
|
|
24
24
|
self._url = url
|
|
25
25
|
self._headers = headers
|
|
26
26
|
self._http_client = http_client or AsyncClient(
|
|
27
|
-
verify=bool(verify),
|
|
27
|
+
verify=bool(verify),
|
|
28
|
+
follow_redirects=True,
|
|
29
|
+
http2=True,
|
|
28
30
|
)
|
|
29
31
|
|
|
30
32
|
async def __aenter__(self) -> Self:
|
|
@@ -159,13 +159,13 @@ class AsyncGoTrueClient(AsyncGoTrueBaseAPI):
|
|
|
159
159
|
"""
|
|
160
160
|
Creates a new anonymous user.
|
|
161
161
|
"""
|
|
162
|
-
self._remove_session()
|
|
162
|
+
await self._remove_session()
|
|
163
163
|
if credentials is None:
|
|
164
164
|
credentials = {"options": {}}
|
|
165
165
|
options = credentials.get("options", {})
|
|
166
166
|
data = options.get("data") or {}
|
|
167
167
|
captcha_token = options.get("captcha_token")
|
|
168
|
-
response = self._request(
|
|
168
|
+
response = await self._request(
|
|
169
169
|
"POST",
|
|
170
170
|
"signup",
|
|
171
171
|
body={
|
|
@@ -177,7 +177,7 @@ class AsyncGoTrueClient(AsyncGoTrueBaseAPI):
|
|
|
177
177
|
xform=parse_auth_response,
|
|
178
178
|
)
|
|
179
179
|
if response.session:
|
|
180
|
-
self._save_session(response.session)
|
|
180
|
+
await self._save_session(response.session)
|
|
181
181
|
self._notify_all_subscribers("SIGNED_IN", response.session)
|
|
182
182
|
return response
|
|
183
183
|
|
|
@@ -33,7 +33,9 @@ class SyncGoTrueAPI:
|
|
|
33
33
|
self.headers = headers
|
|
34
34
|
self.cookie_options = cookie_options
|
|
35
35
|
self.http_client = http_client or SyncClient(
|
|
36
|
-
verify=bool(verify),
|
|
36
|
+
verify=bool(verify),
|
|
37
|
+
follow_redirects=True,
|
|
38
|
+
http2=True,
|
|
37
39
|
)
|
|
38
40
|
|
|
39
41
|
def __enter__(self) -> SyncGoTrueAPI:
|
|
@@ -24,7 +24,9 @@ class SyncGoTrueBaseAPI:
|
|
|
24
24
|
self._url = url
|
|
25
25
|
self._headers = headers
|
|
26
26
|
self._http_client = http_client or SyncClient(
|
|
27
|
-
verify=bool(verify),
|
|
27
|
+
verify=bool(verify),
|
|
28
|
+
follow_redirects=True,
|
|
29
|
+
http2=True,
|
|
28
30
|
)
|
|
29
31
|
|
|
30
32
|
def __enter__(self) -> Self:
|
|
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
|