@@ -311,7 +311,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
311
311
</ details >
312
312
</ dd >
313
313
< dt id ="supertokens_python.recipe.passwordless.utils.validate_and_normalise_user_input "> < code class ="name flex ">
314
- < span > def < span class ="ident "> validate_and_normalise_user_input</ span > </ span > (< span > app_info: AppInfo, contact_config: < a title ="supertokens_python.recipe.passwordless.utils.ContactConfig " href ="#supertokens_python.recipe.passwordless.utils.ContactConfig "> ContactConfig</ a > , flow_type: "Literal['USER_INPUT_CODE', 'MAGIC_LINK', 'USER_INPUT_CODE_AND_MAGIC_LINK']", override: Union[< a title ="supertokens_python.recipe.passwordless.utils.OverrideConfig " href ="#supertokens_python.recipe.passwordless.utils.OverrideConfig "> OverrideConfig</ a > , None] = None, get_custom_user_input_code: Union[Callable[[str, Dict[str, Any]], Awaitable[str]], None] = None, email_delivery: Union[EmailDeliveryConfig[PasswordlessLoginEmailTemplateVars], None] = None, sms_delivery: Union[SMSDeliveryConfig[PasswordlessLoginSMSTemplateVars], None] = None) ‑> < a title ="supertokens_python.recipe.passwordless.utils.PasswordlessConfig " href ="#supertokens_python.recipe.passwordless.utils.PasswordlessConfig "> PasswordlessConfig</ a > </ span >
314
+ < span > def < span class ="ident "> validate_and_normalise_user_input</ span > </ span > (< span > app_info: AppInfo, contact_config: < a title ="supertokens_python.recipe.passwordless.utils.ContactConfig " href ="#supertokens_python.recipe.passwordless.utils.ContactConfig "> ContactConfig</ a > , flow_type: "Literal[( 'USER_INPUT_CODE', 'MAGIC_LINK', 'USER_INPUT_CODE_AND_MAGIC_LINK') ]", override: Union[< a title ="supertokens_python.recipe.passwordless.utils.OverrideConfig " href ="#supertokens_python.recipe.passwordless.utils.OverrideConfig "> OverrideConfig</ a > , None] = None, get_custom_user_input_code: Union[Callable[[str, Dict[str, Any]], Awaitable[str]], None] = None, email_delivery: Union[EmailDeliveryConfig[PasswordlessLoginEmailTemplateVars], None] = None, sms_delivery: Union[SMSDeliveryConfig[PasswordlessLoginSMSTemplateVars], None] = None) ‑> < a title ="supertokens_python.recipe.passwordless.utils.PasswordlessConfig " href ="#supertokens_python.recipe.passwordless.utils.PasswordlessConfig "> PasswordlessConfig</ a > </ span >
315
315
</ code > </ dt >
316
316
< dd >
317
317
< div class ="desc "> </ div >
@@ -402,7 +402,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
402
402
< dl >
403
403
< dt id ="supertokens_python.recipe.passwordless.utils.ContactConfig "> < code class ="flex name class ">
404
404
< span > class < span class ="ident "> ContactConfig</ span > </ span >
405
- < span > (</ span > < span > contact_method: "Literal['PHONE', 'EMAIL', 'EMAIL_OR_PHONE']")</ span >
405
+ < span > (</ span > < span > contact_method: "Literal[( 'PHONE', 'EMAIL', 'EMAIL_OR_PHONE') ]")</ span >
406
406
</ code > </ dt >
407
407
< dd >
408
408
< div class ="desc "> < p > Helper class that provides a standard way to create an ABC using
@@ -549,7 +549,7 @@ <h3>Ancestors</h3>
549
549
</ dd >
550
550
< dt id ="supertokens_python.recipe.passwordless.utils.PasswordlessConfig "> < code class ="flex name class ">
551
551
< span > class < span class ="ident "> PasswordlessConfig</ span > </ span >
552
- < span > (</ span > < span > contact_config: < a title ="supertokens_python.recipe.passwordless.utils.ContactConfig " href ="#supertokens_python.recipe.passwordless.utils.ContactConfig "> ContactConfig</ a > , override: < a title ="supertokens_python.recipe.passwordless.utils.OverrideConfig " href ="#supertokens_python.recipe.passwordless.utils.OverrideConfig "> OverrideConfig</ a > , flow_type: "Literal['USER_INPUT_CODE', 'MAGIC_LINK', 'USER_INPUT_CODE_AND_MAGIC_LINK']", get_email_delivery_config: Callable[[], EmailDeliveryConfigWithService[PasswordlessLoginEmailTemplateVars]], get_sms_delivery_config: Callable[[], SMSDeliveryConfigWithService[PasswordlessLoginSMSTemplateVars]], get_custom_user_input_code: Union[Callable[[str, Dict[str, Any]], Awaitable[str]], None] = None)</ span >
552
+ < span > (</ span > < span > contact_config: < a title ="supertokens_python.recipe.passwordless.utils.ContactConfig " href ="#supertokens_python.recipe.passwordless.utils.ContactConfig "> ContactConfig</ a > , override: < a title ="supertokens_python.recipe.passwordless.utils.OverrideConfig " href ="#supertokens_python.recipe.passwordless.utils.OverrideConfig "> OverrideConfig</ a > , flow_type: "Literal[( 'USER_INPUT_CODE', 'MAGIC_LINK', 'USER_INPUT_CODE_AND_MAGIC_LINK') ]", get_email_delivery_config: Callable[[], EmailDeliveryConfigWithService[PasswordlessLoginEmailTemplateVars]], get_sms_delivery_config: Callable[[], SMSDeliveryConfigWithService[PasswordlessLoginSMSTemplateVars]], get_custom_user_input_code: Union[Callable[[str, Dict[str, Any]], Awaitable[str]], None] = None)</ span >
553
553
</ code > </ dt >
554
554
< dd >
555
555
< div class ="desc "> </ div >
0 commit comments