Skip to content

Commit

Permalink
adding dev-v0.14.0 tag to this commit to ensure building
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed May 18, 2023
1 parent 81d4661 commit 98efe74
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 8 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;2.21&#34;]
VERSION = &#34;0.13.1&#34;
VERSION = &#34;0.14.0&#34;
TELEMETRY = &#34;/telemetry&#34;
USER_COUNT = &#34;/users/count&#34;
USER_DELETE = &#34;/user/remove&#34;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.api.implementat
api_options: APIOptions,
anti_csrf_check: Union[bool, None],
session_required: bool,
check_database: bool,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand Down Expand Up @@ -118,6 +119,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.api.implementat
api_options.recipe_implementation,
session_required=session_required,
anti_csrf_check=anti_csrf_check,
check_database=check_database,
override_global_claim_validators=override_global_claim_validators,
user_context=user_context,
)</code></pre>
Expand Down Expand Up @@ -168,6 +170,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
api_options: APIOptions,
anti_csrf_check: Union[bool, None],
session_required: bool,
check_database: bool,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand Down Expand Up @@ -196,6 +199,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
api_options.recipe_implementation,
session_required=session_required,
anti_csrf_check=anti_csrf_check,
check_database=check_database,
override_global_claim_validators=override_global_claim_validators,
user_context=user_context,
)</code></pre>
Expand Down Expand Up @@ -248,7 +252,7 @@ <h3>Methods</h3>
</details>
</dd>
<dt id="supertokens_python.recipe.session.api.implementation.APIImplementation.verify_session"><code class="name flex">
<span>async def <span class="ident">verify_session</span></span>(<span>self, api_options: APIOptions, anti_csrf_check: Union[bool, None], session_required: bool, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], MaybeAwaitable[List[SessionClaimValidator]]]], user_context: Dict[str, Any]) ‑> Union[SessionContainer, None]</span>
<span>async def <span class="ident">verify_session</span></span>(<span>self, api_options: APIOptions, anti_csrf_check: Union[bool, None], session_required: bool, check_database: bool, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], MaybeAwaitable[List[SessionClaimValidator]]]], user_context: Dict[str, Any]) ‑> Union[SessionContainer, None]</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand All @@ -261,6 +265,7 @@ <h3>Methods</h3>
api_options: APIOptions,
anti_csrf_check: Union[bool, None],
session_required: bool,
check_database: bool,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand Down Expand Up @@ -289,6 +294,7 @@ <h3>Methods</h3>
api_options.recipe_implementation,
session_required=session_required,
anti_csrf_check=anti_csrf_check,
check_database=check_database,
override_global_claim_validators=override_global_claim_validators,
user_context=user_context,
)</code></pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -81,6 +82,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand Down Expand Up @@ -113,7 +115,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="supertokens_python.recipe.session.framework.django.asyncio.verify_session"><code class="name flex">
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]</span>
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand All @@ -124,6 +126,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<pre><code class="python">def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -149,6 +152,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -83,6 +84,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand Down Expand Up @@ -118,7 +120,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.djang
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="supertokens_python.recipe.session.framework.django.syncio.verify_session"><code class="name flex">
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]</span>
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand All @@ -129,6 +131,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<pre><code class="python">def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -155,6 +158,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.fasta
def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -70,6 +71,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.fasta
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand All @@ -92,7 +94,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.framework.fasta
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="supertokens_python.recipe.session.framework.fastapi.verify_session"><code class="name flex">
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[..., Coroutine[Any, Any, Optional[<a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>]]]</span>
<span>def <span class="ident">verify_session</span></span>(<span>anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>], <a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>, Dict[str, Any]], Union[Awaitable[List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]], List[<a title="supertokens_python.recipe.session.interfaces.SessionClaimValidator" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionClaimValidator">SessionClaimValidator</a>]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[..., Coroutine[Any, Any, Optional[<a title="supertokens_python.recipe.session.interfaces.SessionContainer" href="../../interfaces.html#supertokens_python.recipe.session.interfaces.SessionContainer">SessionContainer</a>]]]</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand All @@ -103,6 +105,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<pre><code class="python">def verify_session(
anti_csrf_check: Union[bool, None] = None,
session_required: bool = True,
check_database: bool = False,
override_global_claim_validators: Optional[
Callable[
[List[SessionClaimValidator], SessionContainer, Dict[str, Any]],
Expand All @@ -122,6 +125,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
baseRequest,
anti_csrf_check,
session_required,
check_database,
override_global_claim_validators,
user_context,
)
Expand Down
Loading

0 comments on commit 98efe74

Please sign in to comment.