workos 5.21.0__py3-none-any.whl → 5.22.0__py3-none-any.whl
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.
- workos/__about__.py +1 -1
- workos/user_management.py +6 -0
- {workos-5.21.0.dist-info → workos-5.22.0.dist-info}/METADATA +1 -1
- {workos-5.21.0.dist-info → workos-5.22.0.dist-info}/RECORD +7 -7
- {workos-5.21.0.dist-info → workos-5.22.0.dist-info}/LICENSE +0 -0
- {workos-5.21.0.dist-info → workos-5.22.0.dist-info}/WHEEL +0 -0
- {workos-5.21.0.dist-info → workos-5.22.0.dist-info}/top_level.txt +0 -0
workos/__about__.py
CHANGED
workos/user_management.py
CHANGED
|
@@ -207,6 +207,7 @@ class UserManagementModule(Protocol):
|
|
|
207
207
|
self,
|
|
208
208
|
*,
|
|
209
209
|
user_id: str,
|
|
210
|
+
email: Optional[str] = None,
|
|
210
211
|
first_name: Optional[str] = None,
|
|
211
212
|
last_name: Optional[str] = None,
|
|
212
213
|
email_verified: Optional[bool] = None,
|
|
@@ -222,6 +223,7 @@ class UserManagementModule(Protocol):
|
|
|
222
223
|
user_id (str): The User unique identifier
|
|
223
224
|
first_name (str): The user's first name. (Optional)
|
|
224
225
|
last_name (str): The user's last name. (Optional)
|
|
226
|
+
email (str): The user's email. (Optional)
|
|
225
227
|
email_verified (bool): Whether the user's email address was previously verified. (Optional)
|
|
226
228
|
password (str): The password to set for the user. (Optional)
|
|
227
229
|
password_hash (str): The hashed password to set for the user, used when migrating from another user store. Mutually exclusive with password. (Optional)
|
|
@@ -949,6 +951,7 @@ class UserManagement(UserManagementModule):
|
|
|
949
951
|
user_id: str,
|
|
950
952
|
first_name: Optional[str] = None,
|
|
951
953
|
last_name: Optional[str] = None,
|
|
954
|
+
email: Optional[str] = None,
|
|
952
955
|
email_verified: Optional[bool] = None,
|
|
953
956
|
password: Optional[str] = None,
|
|
954
957
|
password_hash: Optional[str] = None,
|
|
@@ -959,6 +962,7 @@ class UserManagement(UserManagementModule):
|
|
|
959
962
|
json = {
|
|
960
963
|
"first_name": first_name,
|
|
961
964
|
"last_name": last_name,
|
|
965
|
+
"email": email,
|
|
962
966
|
"email_verified": email_verified,
|
|
963
967
|
"password": password,
|
|
964
968
|
"password_hash": password_hash,
|
|
@@ -1574,6 +1578,7 @@ class AsyncUserManagement(UserManagementModule):
|
|
|
1574
1578
|
user_id: str,
|
|
1575
1579
|
first_name: Optional[str] = None,
|
|
1576
1580
|
last_name: Optional[str] = None,
|
|
1581
|
+
email: Optional[str] = None,
|
|
1577
1582
|
email_verified: Optional[bool] = None,
|
|
1578
1583
|
password: Optional[str] = None,
|
|
1579
1584
|
password_hash: Optional[str] = None,
|
|
@@ -1584,6 +1589,7 @@ class AsyncUserManagement(UserManagementModule):
|
|
|
1584
1589
|
json = {
|
|
1585
1590
|
"first_name": first_name,
|
|
1586
1591
|
"last_name": last_name,
|
|
1592
|
+
"email": email,
|
|
1587
1593
|
"email_verified": email_verified,
|
|
1588
1594
|
"password": password,
|
|
1589
1595
|
"password_hash": password_hash,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
workos/__about__.py,sha256
|
|
1
|
+
workos/__about__.py,sha256=-LhrSzsxIj6x697zJZxh3basnikBr-rzM2cFQFV5aFA,406
|
|
2
2
|
workos/__init__.py,sha256=hOdbO_MJCvpLx8EbRjQg-fvFAB-glJmrmxUZK8kWG0k,167
|
|
3
3
|
workos/_base_client.py,sha256=t69Nb3zxo3wygI3JtbPdZMGvIuRPsZx_xZANC5K8dn8,3429
|
|
4
4
|
workos/_client_configuration.py,sha256=g3eXhtrEMN6CW0hZ5uHb2PmLurXjyBkWZeQYMPeJD6s,222
|
|
@@ -16,7 +16,7 @@ workos/portal.py,sha256=lzf3fnOor4AyVdHCHMuJzVSpAC9LWWdC5sZIRtCsb0c,2443
|
|
|
16
16
|
workos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
workos/session.py,sha256=CVada-nKRFv9m2-mcghR5VBOguGU76iDCDgQlksOOrQ,11912
|
|
18
18
|
workos/sso.py,sha256=ZBC3y-IRmxG0jPd0BOj7s7XQkXJoTLUg1fx-h3Gfy4g,13541
|
|
19
|
-
workos/user_management.py,sha256=
|
|
19
|
+
workos/user_management.py,sha256=FVctyvyy4ErofCUjPd_yxa7HPyJIwx3Akc0oHRZ6vPc,76785
|
|
20
20
|
workos/webhooks.py,sha256=CuwBxh6va9VZFVSXOknveGt6CCGDF3em07a-J12DbXI,4790
|
|
21
21
|
workos/widgets.py,sha256=bfbR0hQOHZabbgGL2ekD5sY1sjiUoWBTdrBd_a6WmBc,1721
|
|
22
22
|
workos/types/__init__.py,sha256=aYScTXq5jOyp0AYvdWffaj5-zdDuNtCCJtbzt5GM19k,267
|
|
@@ -118,8 +118,8 @@ workos/utils/_base_http_client.py,sha256=KqRHUaDJUfXGxhu6UHLfZVkIBikcvrUZYhm9GBS
|
|
|
118
118
|
workos/utils/http_client.py,sha256=TM5yMFFExmAE8D2Z43-5O301tRbnylLG0aXO0isGorE,6197
|
|
119
119
|
workos/utils/pagination_order.py,sha256=_-et1DDJLG0czarTU7op4W6RA0V1f85GNsUgtyRU55Q,70
|
|
120
120
|
workos/utils/request_helper.py,sha256=NaO16qPPbSNnCeE0fiNKYb8gM-dK_okYVJbLGrEGXz8,793
|
|
121
|
-
workos-5.
|
|
122
|
-
workos-5.
|
|
123
|
-
workos-5.
|
|
124
|
-
workos-5.
|
|
125
|
-
workos-5.
|
|
121
|
+
workos-5.22.0.dist-info/LICENSE,sha256=mU--WL1JzelH2tXpKVoOlpud4cpqKSRTtdArCvYZmb4,1063
|
|
122
|
+
workos-5.22.0.dist-info/METADATA,sha256=ga99A7ME7NYy1cSJ6_n1Zn2OJzIT3NRRZgN5mO2cwCo,4187
|
|
123
|
+
workos-5.22.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
124
|
+
workos-5.22.0.dist-info/top_level.txt,sha256=ZFskIfue1Tw-JwjyIXRvdsAl9i0DX9VbqmgICXV84Sk,7
|
|
125
|
+
workos-5.22.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|