supabase_auth 2.28.3__tar.gz → 2.30.0__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.28.3 → supabase_auth-2.30.0}/PKG-INFO +1 -1
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/pyproject.toml +1 -1
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_admin_api.py +12 -12
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_admin_oauth_api.py +6 -6
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_admin_api.py +12 -12
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py +6 -6
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/types.py +1 -0
- supabase_auth-2.30.0/src/supabase_auth/version.py +1 -0
- supabase_auth-2.28.3/src/supabase_auth/version.py +0 -1
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/README.md +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/__init__.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/__init__.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_base_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_client.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/storage.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/__init__.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_base_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_client.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_mfa_api.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/storage.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/constants.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/errors.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/helpers.py +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/py.typed +0 -0
- {supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/timer.py +0 -0
|
@@ -122,7 +122,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
122
122
|
Creates a new user.
|
|
123
123
|
|
|
124
124
|
This function should only be called on a server.
|
|
125
|
-
Never expose your `
|
|
125
|
+
Never expose your `secret` key in the browser.
|
|
126
126
|
"""
|
|
127
127
|
response = await self._request(
|
|
128
128
|
"POST",
|
|
@@ -138,7 +138,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
138
138
|
Get a list of users.
|
|
139
139
|
|
|
140
140
|
This function should only be called on a server.
|
|
141
|
-
Never expose your `
|
|
141
|
+
Never expose your `secret` key in the browser.
|
|
142
142
|
"""
|
|
143
143
|
response = await self._request(
|
|
144
144
|
"GET",
|
|
@@ -152,7 +152,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
152
152
|
Get user by id.
|
|
153
153
|
|
|
154
154
|
This function should only be called on a server.
|
|
155
|
-
Never expose your `
|
|
155
|
+
Never expose your `secret` key in the browser.
|
|
156
156
|
"""
|
|
157
157
|
validate_uuid(uid)
|
|
158
158
|
|
|
@@ -171,7 +171,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
171
171
|
Updates the user data.
|
|
172
172
|
|
|
173
173
|
This function should only be called on a server.
|
|
174
|
-
Never expose your `
|
|
174
|
+
Never expose your `secret` key in the browser.
|
|
175
175
|
"""
|
|
176
176
|
validate_uuid(uid)
|
|
177
177
|
response = await self._request(
|
|
@@ -183,10 +183,10 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
183
183
|
|
|
184
184
|
async def delete_user(self, id: str, should_soft_delete: bool = False) -> None:
|
|
185
185
|
"""
|
|
186
|
-
Delete a user. Requires a `
|
|
186
|
+
Delete a user. Requires a `secret` key.
|
|
187
187
|
|
|
188
188
|
This function should only be called on a server.
|
|
189
|
-
Never expose your `
|
|
189
|
+
Never expose your `secret` key in the browser.
|
|
190
190
|
"""
|
|
191
191
|
validate_uuid(id)
|
|
192
192
|
body = {"should_soft_delete": should_soft_delete}
|
|
@@ -224,7 +224,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
224
224
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
225
225
|
|
|
226
226
|
This function should only be called on a server.
|
|
227
|
-
Never expose your `
|
|
227
|
+
Never expose your `secret` key in the browser.
|
|
228
228
|
"""
|
|
229
229
|
if params:
|
|
230
230
|
query = QueryParams(page=params.page, per_page=params.per_page)
|
|
@@ -269,7 +269,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
269
269
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
270
270
|
|
|
271
271
|
This function should only be called on a server.
|
|
272
|
-
Never expose your `
|
|
272
|
+
Never expose your `secret` key in the browser.
|
|
273
273
|
"""
|
|
274
274
|
response = await self._request(
|
|
275
275
|
"POST",
|
|
@@ -288,7 +288,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
288
288
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
289
289
|
|
|
290
290
|
This function should only be called on a server.
|
|
291
|
-
Never expose your `
|
|
291
|
+
Never expose your `secret` key in the browser.
|
|
292
292
|
"""
|
|
293
293
|
validate_uuid(client_id)
|
|
294
294
|
response = await self._request(
|
|
@@ -307,7 +307,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
307
307
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
308
308
|
|
|
309
309
|
This function should only be called on a server.
|
|
310
|
-
Never expose your `
|
|
310
|
+
Never expose your `secret` key in the browser.
|
|
311
311
|
"""
|
|
312
312
|
validate_uuid(client_id)
|
|
313
313
|
response = await self._request(
|
|
@@ -326,7 +326,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
326
326
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
327
327
|
|
|
328
328
|
This function should only be called on a server.
|
|
329
|
-
Never expose your `
|
|
329
|
+
Never expose your `secret` key in the browser.
|
|
330
330
|
"""
|
|
331
331
|
validate_uuid(client_id)
|
|
332
332
|
await self._request(
|
|
@@ -343,7 +343,7 @@ class AsyncGoTrueAdminAPI(AsyncGoTrueBaseAPI):
|
|
|
343
343
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
344
344
|
|
|
345
345
|
This function should only be called on a server.
|
|
346
|
-
Never expose your `
|
|
346
|
+
Never expose your `secret` key in the browser.
|
|
347
347
|
"""
|
|
348
348
|
validate_uuid(client_id)
|
|
349
349
|
response = await self._request(
|
{supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_admin_oauth_api.py
RENAMED
|
@@ -24,7 +24,7 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
24
24
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
25
25
|
|
|
26
26
|
This function should only be called on a server.
|
|
27
|
-
Never expose your `
|
|
27
|
+
Never expose your `secret` key in the browser.
|
|
28
28
|
"""
|
|
29
29
|
raise NotImplementedError() # pragma: no cover
|
|
30
30
|
|
|
@@ -37,7 +37,7 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
37
37
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
38
38
|
|
|
39
39
|
This function should only be called on a server.
|
|
40
|
-
Never expose your `
|
|
40
|
+
Never expose your `secret` key in the browser.
|
|
41
41
|
"""
|
|
42
42
|
raise NotImplementedError() # pragma: no cover
|
|
43
43
|
|
|
@@ -50,7 +50,7 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
50
50
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
51
51
|
|
|
52
52
|
This function should only be called on a server.
|
|
53
|
-
Never expose your `
|
|
53
|
+
Never expose your `secret` key in the browser.
|
|
54
54
|
"""
|
|
55
55
|
raise NotImplementedError() # pragma: no cover
|
|
56
56
|
|
|
@@ -64,7 +64,7 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
64
64
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
65
65
|
|
|
66
66
|
This function should only be called on a server.
|
|
67
|
-
Never expose your `
|
|
67
|
+
Never expose your `secret` key in the browser.
|
|
68
68
|
"""
|
|
69
69
|
raise NotImplementedError() # pragma: no cover
|
|
70
70
|
|
|
@@ -77,7 +77,7 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
77
77
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
78
78
|
|
|
79
79
|
This function should only be called on a server.
|
|
80
|
-
Never expose your `
|
|
80
|
+
Never expose your `secret` key in the browser.
|
|
81
81
|
"""
|
|
82
82
|
raise NotImplementedError() # pragma: no cover
|
|
83
83
|
|
|
@@ -90,6 +90,6 @@ class AsyncGoTrueAdminOAuthAPI:
|
|
|
90
90
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
91
91
|
|
|
92
92
|
This function should only be called on a server.
|
|
93
|
-
Never expose your `
|
|
93
|
+
Never expose your `secret` key in the browser.
|
|
94
94
|
"""
|
|
95
95
|
raise NotImplementedError() # pragma: no cover
|
|
@@ -122,7 +122,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
122
122
|
Creates a new user.
|
|
123
123
|
|
|
124
124
|
This function should only be called on a server.
|
|
125
|
-
Never expose your `
|
|
125
|
+
Never expose your `secret` key in the browser.
|
|
126
126
|
"""
|
|
127
127
|
response = self._request(
|
|
128
128
|
"POST",
|
|
@@ -138,7 +138,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
138
138
|
Get a list of users.
|
|
139
139
|
|
|
140
140
|
This function should only be called on a server.
|
|
141
|
-
Never expose your `
|
|
141
|
+
Never expose your `secret` key in the browser.
|
|
142
142
|
"""
|
|
143
143
|
response = self._request(
|
|
144
144
|
"GET",
|
|
@@ -152,7 +152,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
152
152
|
Get user by id.
|
|
153
153
|
|
|
154
154
|
This function should only be called on a server.
|
|
155
|
-
Never expose your `
|
|
155
|
+
Never expose your `secret` key in the browser.
|
|
156
156
|
"""
|
|
157
157
|
validate_uuid(uid)
|
|
158
158
|
|
|
@@ -171,7 +171,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
171
171
|
Updates the user data.
|
|
172
172
|
|
|
173
173
|
This function should only be called on a server.
|
|
174
|
-
Never expose your `
|
|
174
|
+
Never expose your `secret` key in the browser.
|
|
175
175
|
"""
|
|
176
176
|
validate_uuid(uid)
|
|
177
177
|
response = self._request(
|
|
@@ -183,10 +183,10 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
183
183
|
|
|
184
184
|
def delete_user(self, id: str, should_soft_delete: bool = False) -> None:
|
|
185
185
|
"""
|
|
186
|
-
Delete a user. Requires a `
|
|
186
|
+
Delete a user. Requires a `secret` key.
|
|
187
187
|
|
|
188
188
|
This function should only be called on a server.
|
|
189
|
-
Never expose your `
|
|
189
|
+
Never expose your `secret` key in the browser.
|
|
190
190
|
"""
|
|
191
191
|
validate_uuid(id)
|
|
192
192
|
body = {"should_soft_delete": should_soft_delete}
|
|
@@ -224,7 +224,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
224
224
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
225
225
|
|
|
226
226
|
This function should only be called on a server.
|
|
227
|
-
Never expose your `
|
|
227
|
+
Never expose your `secret` key in the browser.
|
|
228
228
|
"""
|
|
229
229
|
if params:
|
|
230
230
|
query = QueryParams(page=params.page, per_page=params.per_page)
|
|
@@ -269,7 +269,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
269
269
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
270
270
|
|
|
271
271
|
This function should only be called on a server.
|
|
272
|
-
Never expose your `
|
|
272
|
+
Never expose your `secret` key in the browser.
|
|
273
273
|
"""
|
|
274
274
|
response = self._request(
|
|
275
275
|
"POST",
|
|
@@ -288,7 +288,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
288
288
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
289
289
|
|
|
290
290
|
This function should only be called on a server.
|
|
291
|
-
Never expose your `
|
|
291
|
+
Never expose your `secret` key in the browser.
|
|
292
292
|
"""
|
|
293
293
|
validate_uuid(client_id)
|
|
294
294
|
response = self._request(
|
|
@@ -307,7 +307,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
307
307
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
308
308
|
|
|
309
309
|
This function should only be called on a server.
|
|
310
|
-
Never expose your `
|
|
310
|
+
Never expose your `secret` key in the browser.
|
|
311
311
|
"""
|
|
312
312
|
validate_uuid(client_id)
|
|
313
313
|
response = self._request(
|
|
@@ -326,7 +326,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
326
326
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
327
327
|
|
|
328
328
|
This function should only be called on a server.
|
|
329
|
-
Never expose your `
|
|
329
|
+
Never expose your `secret` key in the browser.
|
|
330
330
|
"""
|
|
331
331
|
validate_uuid(client_id)
|
|
332
332
|
self._request(
|
|
@@ -343,7 +343,7 @@ class SyncGoTrueAdminAPI(SyncGoTrueBaseAPI):
|
|
|
343
343
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
344
344
|
|
|
345
345
|
This function should only be called on a server.
|
|
346
|
-
Never expose your `
|
|
346
|
+
Never expose your `secret` key in the browser.
|
|
347
347
|
"""
|
|
348
348
|
validate_uuid(client_id)
|
|
349
349
|
response = self._request(
|
{supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_admin_oauth_api.py
RENAMED
|
@@ -24,7 +24,7 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
24
24
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
25
25
|
|
|
26
26
|
This function should only be called on a server.
|
|
27
|
-
Never expose your `
|
|
27
|
+
Never expose your `secret` key in the browser.
|
|
28
28
|
"""
|
|
29
29
|
raise NotImplementedError() # pragma: no cover
|
|
30
30
|
|
|
@@ -37,7 +37,7 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
37
37
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
38
38
|
|
|
39
39
|
This function should only be called on a server.
|
|
40
|
-
Never expose your `
|
|
40
|
+
Never expose your `secret` key in the browser.
|
|
41
41
|
"""
|
|
42
42
|
raise NotImplementedError() # pragma: no cover
|
|
43
43
|
|
|
@@ -50,7 +50,7 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
50
50
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
51
51
|
|
|
52
52
|
This function should only be called on a server.
|
|
53
|
-
Never expose your `
|
|
53
|
+
Never expose your `secret` key in the browser.
|
|
54
54
|
"""
|
|
55
55
|
raise NotImplementedError() # pragma: no cover
|
|
56
56
|
|
|
@@ -64,7 +64,7 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
64
64
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
65
65
|
|
|
66
66
|
This function should only be called on a server.
|
|
67
|
-
Never expose your `
|
|
67
|
+
Never expose your `secret` key in the browser.
|
|
68
68
|
"""
|
|
69
69
|
raise NotImplementedError() # pragma: no cover
|
|
70
70
|
|
|
@@ -77,7 +77,7 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
77
77
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
78
78
|
|
|
79
79
|
This function should only be called on a server.
|
|
80
|
-
Never expose your `
|
|
80
|
+
Never expose your `secret` key in the browser.
|
|
81
81
|
"""
|
|
82
82
|
raise NotImplementedError() # pragma: no cover
|
|
83
83
|
|
|
@@ -90,6 +90,6 @@ class SyncGoTrueAdminOAuthAPI:
|
|
|
90
90
|
Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
|
|
91
91
|
|
|
92
92
|
This function should only be called on a server.
|
|
93
|
-
Never expose your `
|
|
93
|
+
Never expose your `secret` key in the browser.
|
|
94
94
|
"""
|
|
95
95
|
raise NotImplementedError() # pragma: no cover
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.30.0" # {x-release-please-version}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.28.3" # {x-release-please-version}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_async/gotrue_admin_mfa_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{supabase_auth-2.28.3 → supabase_auth-2.30.0}/src/supabase_auth/_sync/gotrue_admin_mfa_api.py
RENAMED
|
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
|