File tree Expand file tree Collapse file tree 3 files changed +1
-49
lines changed
supertokens_python/recipe Expand file tree Collapse file tree 3 files changed +1
-49
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ def callback():
230230 PostSTInitCallbacks .add_post_init_callback (callback )
231231
232232 return EmailVerificationRecipe .__instance
233- return raise_general_exception (
233+ raise_general_exception (
234234 "Emailverification recipe has already been initialised. Please check your code for bugs."
235235 )
236236
Original file line number Diff line number Diff line change @@ -63,29 +63,6 @@ async def get_user_by_third_party_info(
6363 )
6464
6565
66- async def thirdparty_sign_in_up (
67- third_party_id : str ,
68- third_party_user_id : str ,
69- email : str ,
70- oauth_tokens : Dict [str , Any ],
71- raw_user_info_from_provider : RawUserInfoFromProvider ,
72- tenant_id : Optional [str ] = None ,
73- user_context : Optional [Dict [str , Any ]] = None ,
74- ):
75- if user_context is None :
76- user_context = {}
77-
78- return await ThirdPartyEmailPasswordRecipe .get_instance ().recipe_implementation .thirdparty_sign_in_up (
79- third_party_id ,
80- third_party_user_id ,
81- email ,
82- oauth_tokens ,
83- raw_user_info_from_provider ,
84- tenant_id or DEFAULT_TENANT_ID ,
85- user_context ,
86- )
87-
88-
8966async def thirdparty_manually_create_or_update_user (
9067 third_party_id : str ,
9168 third_party_user_id : str ,
Original file line number Diff line number Diff line change @@ -49,31 +49,6 @@ def get_user_by_third_party_info(
4949 )
5050
5151
52- def thirdparty_sign_in_up (
53- third_party_id : str ,
54- third_party_user_id : str ,
55- email : str ,
56- oauth_tokens : Dict [str , Any ],
57- raw_user_info_from_provider : RawUserInfoFromProvider ,
58- tenant_id : Optional [str ] = None ,
59- user_context : Optional [Dict [str , Any ]] = None ,
60- ):
61- from supertokens_python .recipe .thirdpartyemailpassword .asyncio import (
62- thirdparty_sign_in_up ,
63- )
64-
65- return sync (
66- thirdparty_sign_in_up (
67- third_party_id ,
68- third_party_user_id ,
69- email ,
70- oauth_tokens ,
71- raw_user_info_from_provider ,
72- tenant_id ,
73- user_context ,
74- )
75- )
76-
7752
7853def thirdparty_manually_create_or_update_user (
7954 third_party_id : str ,
You can’t perform that action at this time.
0 commit comments