@@ -358,6 +358,16 @@ <h1 class="title">Module <code>supertokens_python.recipe.multitenancy.interfaces
358358 }
359359
360360
361+ class LoginMethodWebauthn:
362+ def __init__(self, enabled: bool):
363+ self.enabled = enabled
364+
365+ def to_json(self) -> Dict[str, Any]:
366+ return {
367+ "enabled": self.enabled,
368+ }
369+
370+
361371class LoginMethodThirdParty:
362372 def __init__(self, enabled: bool, providers: List[ThirdPartyProvider]):
363373 self.enabled = enabled
@@ -376,12 +386,14 @@ <h1 class="title">Module <code>supertokens_python.recipe.multitenancy.interfaces
376386 email_password: LoginMethodEmailPassword,
377387 passwordless: LoginMethodPasswordless,
378388 third_party: LoginMethodThirdParty,
389+ webauthn: LoginMethodWebauthn,
379390 first_factors: List[str],
380391 ):
381392 self.status = "OK"
382393 self.email_password = email_password
383394 self.passwordless = passwordless
384395 self.third_party = third_party
396+ self.webauthn = webauthn
385397 self.first_factors = first_factors
386398
387399 def to_json(self) -> Dict[str, Any]:
@@ -390,6 +402,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.multitenancy.interfaces
390402 "emailPassword": self.email_password.to_json(),
391403 "passwordless": self.passwordless.to_json(),
392404 "thirdParty": self.third_party.to_json(),
405+ "webauthn": self.webauthn.to_json(),
393406 "firstFactors": self.first_factors,
394407 }
395408
@@ -859,9 +872,38 @@ <h3>Methods</h3>
859872</ dd >
860873</ dl >
861874</ dd >
875+ < dt id ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn "> < code class ="flex name class ">
876+ < span > class < span class ="ident "> LoginMethodWebauthn</ span > </ span >
877+ < span > (</ span > < span > enabled: bool)</ span >
878+ </ code > </ dt >
879+ < dd >
880+ < div class ="desc "> </ div >
881+ < details class ="source ">
882+ < summary >
883+ < span > Expand source code</ span >
884+ </ summary >
885+ < pre > < code class ="python "> class LoginMethodWebauthn:
886+ def __init__(self, enabled: bool):
887+ self.enabled = enabled
888+
889+ def to_json(self) -> Dict[str, Any]:
890+ return {
891+ "enabled": self.enabled,
892+ }</ code > </ pre >
893+ </ details >
894+ < h3 > Methods</ h3 >
895+ < dl >
896+ < dt id ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn.to_json "> < code class ="name flex ">
897+ < span > def < span class ="ident "> to_json</ span > </ span > (< span > self) ‑> Dict[str, Any]</ span >
898+ </ code > </ dt >
899+ < dd >
900+ < div class ="desc "> </ div >
901+ </ dd >
902+ </ dl >
903+ </ dd >
862904< dt id ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodsGetOkResult "> < code class ="flex name class ">
863905< span > class < span class ="ident "> LoginMethodsGetOkResult</ span > </ span >
864- < span > (</ span > < span > email_password: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodEmailPassword " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodEmailPassword "> LoginMethodEmailPassword</ a > , passwordless: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodPasswordless " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodPasswordless "> LoginMethodPasswordless</ a > , third_party: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodThirdParty " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodThirdParty "> LoginMethodThirdParty</ a > , first_factors: List[str])</ span >
906+ < span > (</ span > < span > email_password: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodEmailPassword " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodEmailPassword "> LoginMethodEmailPassword</ a > , passwordless: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodPasswordless " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodPasswordless "> LoginMethodPasswordless</ a > , third_party: < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodThirdParty " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodThirdParty "> LoginMethodThirdParty</ a > , webauthn: < a title =" supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn " href =" #supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn " > LoginMethodWebauthn </ a > , first_factors: List[str])</ span >
865907</ code > </ dt >
866908< dd >
867909< div class ="desc "> < p > Helper class that provides a standard way to create an ABC using
@@ -876,12 +918,14 @@ <h3>Methods</h3>
876918 email_password: LoginMethodEmailPassword,
877919 passwordless: LoginMethodPasswordless,
878920 third_party: LoginMethodThirdParty,
921+ webauthn: LoginMethodWebauthn,
879922 first_factors: List[str],
880923 ):
881924 self.status = "OK"
882925 self.email_password = email_password
883926 self.passwordless = passwordless
884927 self.third_party = third_party
928+ self.webauthn = webauthn
885929 self.first_factors = first_factors
886930
887931 def to_json(self) -> Dict[str, Any]:
@@ -890,6 +934,7 @@ <h3>Methods</h3>
890934 "emailPassword": self.email_password.to_json(),
891935 "passwordless": self.passwordless.to_json(),
892936 "thirdParty": self.third_party.to_json(),
937+ "webauthn": self.webauthn.to_json(),
893938 "firstFactors": self.first_factors,
894939 }</ code > </ pre >
895940</ details >
@@ -1378,6 +1423,12 @@ <h4><code><a title="supertokens_python.recipe.multitenancy.interfaces.LoginMetho
13781423</ ul >
13791424</ li >
13801425< li >
1426+ < h4 > < code > < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn "> LoginMethodWebauthn</ a > </ code > </ h4 >
1427+ < ul class ="">
1428+ < li > < code > < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn.to_json " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodWebauthn.to_json "> to_json</ a > </ code > </ li >
1429+ </ ul >
1430+ </ li >
1431+ < li >
13811432< h4 > < code > < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodsGetOkResult " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodsGetOkResult "> LoginMethodsGetOkResult</ a > </ code > </ h4 >
13821433< ul class ="">
13831434< li > < code > < a title ="supertokens_python.recipe.multitenancy.interfaces.LoginMethodsGetOkResult.to_json " href ="#supertokens_python.recipe.multitenancy.interfaces.LoginMethodsGetOkResult.to_json "> to_json</ a > </ code > </ li >
0 commit comments