Skip to content

Commit

Permalink
adding dev-v0.17.0 tag to this commit to ensure building
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Nov 14, 2023
1 parent 2195b23 commit d5ebe65
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion html/supertokens_python/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
from __future__ import annotations

SUPPORTED_CDI_VERSIONS = [&#34;3.0&#34;]
VERSION = &#34;0.16.8&#34;
VERSION = &#34;0.17.0&#34;
TELEMETRY = &#34;/telemetry&#34;
USER_COUNT = &#34;/users/count&#34;
USER_DELETE = &#34;/user/remove&#34;
Expand Down
14 changes: 7 additions & 7 deletions html/supertokens_python/recipe/emailpassword/asyncio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailpassword.asyncio</

from supertokens_python.recipe.emailpassword.interfaces import (
CreateResetPasswordWrongUserIdError,
CreateResetPasswordLinkUknownUserIdError,
CreateResetPasswordLinkUnknownUserIdError,
CreateResetPasswordLinkOkResult,
SendResetPasswordEmailOkResult,
SendResetPasswordEmailUnknownUserIdError,
Expand Down Expand Up @@ -167,14 +167,14 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailpassword.asyncio</
):
token = await create_reset_password_token(tenant_id, user_id, user_context)
if isinstance(token, CreateResetPasswordWrongUserIdError):
return CreateResetPasswordLinkUknownUserIdError()
return CreateResetPasswordLinkUnknownUserIdError()

recipe_instance = EmailPasswordRecipe.get_instance()
return CreateResetPasswordLinkOkResult(
link=get_password_reset_link(
recipe_instance.get_app_info(),
recipe_instance.get_recipe_id(),
token.token,
recipe_instance.get_recipe_id(),
tenant_id,
)
)
Expand All @@ -184,7 +184,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailpassword.asyncio</
tenant_id: str, user_id: str, user_context: Optional[Dict[str, Any]] = None
):
link = await create_reset_password_link(tenant_id, user_id, user_context)
if isinstance(link, CreateResetPasswordLinkUknownUserIdError):
if isinstance(link, CreateResetPasswordLinkUnknownUserIdError):
return SendResetPasswordEmailUnknownUserIdError()

user = await get_user_by_id(user_id, user_context)
Expand Down Expand Up @@ -223,14 +223,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
):
token = await create_reset_password_token(tenant_id, user_id, user_context)
if isinstance(token, CreateResetPasswordWrongUserIdError):
return CreateResetPasswordLinkUknownUserIdError()
return CreateResetPasswordLinkUnknownUserIdError()

recipe_instance = EmailPasswordRecipe.get_instance()
return CreateResetPasswordLinkOkResult(
link=get_password_reset_link(
recipe_instance.get_app_info(),
recipe_instance.get_recipe_id(),
token.token,
recipe_instance.get_recipe_id(),
tenant_id,
)
)</code></pre>
Expand Down Expand Up @@ -350,7 +350,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
tenant_id: str, user_id: str, user_context: Optional[Dict[str, Any]] = None
):
link = await create_reset_password_link(tenant_id, user_id, user_context)
if isinstance(link, CreateResetPasswordLinkUknownUserIdError):
if isinstance(link, CreateResetPasswordLinkUnknownUserIdError):
return SendResetPasswordEmailUnknownUserIdError()

user = await get_user_by_id(user_id, user_context)
Expand Down
10 changes: 5 additions & 5 deletions html/supertokens_python/recipe/emailpassword/interfaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.emailpassword.interface
self.link = link


class CreateResetPasswordLinkUknownUserIdError:
class CreateResetPasswordLinkUnknownUserIdError:
pass


Expand Down Expand Up @@ -613,16 +613,16 @@ <h3>Methods</h3>
self.link = link</code></pre>
</details>
</dd>
<dt id="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUknownUserIdError"><code class="flex name class">
<span>class <span class="ident">CreateResetPasswordLinkUknownUserIdError</span></span>
<dt id="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUnknownUserIdError"><code class="flex name class">
<span>class <span class="ident">CreateResetPasswordLinkUnknownUserIdError</span></span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class CreateResetPasswordLinkUknownUserIdError:
<pre><code class="python">class CreateResetPasswordLinkUnknownUserIdError:
pass</code></pre>
</details>
</dd>
Expand Down Expand Up @@ -1481,7 +1481,7 @@ <h4><code><a title="supertokens_python.recipe.emailpassword.interfaces.APIOption
<h4><code><a title="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkOkResult" href="#supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkOkResult">CreateResetPasswordLinkOkResult</a></code></h4>
</li>
<li>
<h4><code><a title="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUknownUserIdError" href="#supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUknownUserIdError">CreateResetPasswordLinkUknownUserIdError</a></code></h4>
<h4><code><a title="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUnknownUserIdError" href="#supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordLinkUnknownUserIdError">CreateResetPasswordLinkUnknownUserIdError</a></code></h4>
</li>
<li>
<h4><code><a title="supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordOkResult" href="#supertokens_python.recipe.emailpassword.interfaces.CreateResetPasswordOkResult">CreateResetPasswordOkResult</a></code></h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdpartyemailpassword

from supertokens_python.recipe.thirdpartyemailpassword.interfaces import (
CreateResetPasswordWrongUserIdError,
CreateResetPasswordLinkUknownUserIdError,
CreateResetPasswordLinkUnknownUserIdError,
CreateResetPasswordLinkOkResult,
SendResetPasswordEmailUnknownUserIdError,
SendResetPasswordEmailEmailOkResult,
Expand Down Expand Up @@ -217,7 +217,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdpartyemailpassword
):
token = await create_reset_password_token(tenant_id, user_id, user_context)
if isinstance(token, CreateResetPasswordWrongUserIdError):
return CreateResetPasswordLinkUknownUserIdError()
return CreateResetPasswordLinkUnknownUserIdError()

recipe_instance = ThirdPartyEmailPasswordRecipe.get_instance()

Expand All @@ -240,7 +240,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdpartyemailpassword
user_context: Optional[Dict[str, Any]] = None,
):
link = await create_reset_password_link(tenant_id, user_id, user_context)
if isinstance(link, CreateResetPasswordLinkUknownUserIdError):
if isinstance(link, CreateResetPasswordLinkUnknownUserIdError):
return SendResetPasswordEmailUnknownUserIdError()

user = await get_user_by_id(user_id, user_context)
Expand Down Expand Up @@ -279,7 +279,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
):
token = await create_reset_password_token(tenant_id, user_id, user_context)
if isinstance(token, CreateResetPasswordWrongUserIdError):
return CreateResetPasswordLinkUknownUserIdError()
return CreateResetPasswordLinkUnknownUserIdError()

recipe_instance = ThirdPartyEmailPasswordRecipe.get_instance()

Expand Down Expand Up @@ -480,7 +480,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
user_context: Optional[Dict[str, Any]] = None,
):
link = await create_reset_password_link(tenant_id, user_id, user_context)
if isinstance(link, CreateResetPasswordLinkUknownUserIdError):
if isinstance(link, CreateResetPasswordLinkUnknownUserIdError):
return SendResetPasswordEmailUnknownUserIdError()

user = await get_user_by_id(user_id, user_context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ <h1 class="title">Module <code>supertokens_python.recipe.thirdpartyemailpassword
CreateResetPasswordOkResult = EPInterfaces.CreateResetPasswordOkResult
CreateResetPasswordWrongUserIdError = EPInterfaces.CreateResetPasswordWrongUserIdError
CreateResetPasswordLinkOkResult = EPInterfaces.CreateResetPasswordLinkOkResult
CreateResetPasswordLinkUknownUserIdError = (
EPInterfaces.CreateResetPasswordLinkUknownUserIdError
CreateResetPasswordLinkUnknownUserIdError = (
EPInterfaces.CreateResetPasswordLinkUnknownUserIdError
)
SendResetPasswordEmailEmailOkResult = EPInterfaces.SendResetPasswordEmailOkResult
SendResetPasswordEmailUnknownUserIdError = (
Expand Down

0 comments on commit d5ebe65

Please sign in to comment.