From 98efe744b4a5adc6c6f4489d28c2915ac6be9829 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Thu, 18 May 2023 23:21:31 +0530 Subject: [PATCH] adding dev-v0.14.0 tag to this commit to ensure building --- html/supertokens_python/constants.html | 2 +- .../recipe/session/api/implementation.html | 8 +++++++- .../recipe/session/framework/django/asyncio/index.html | 6 +++++- .../recipe/session/framework/django/syncio/index.html | 6 +++++- .../recipe/session/framework/fastapi/index.html | 6 +++++- .../recipe/session/framework/flask/index.html | 6 +++++- html/supertokens_python/recipe/session/interfaces.html | 5 ++++- html/supertokens_python/recipe/session/recipe.html | 8 +++++++- 8 files changed, 39 insertions(+), 8 deletions(-) diff --git a/html/supertokens_python/constants.html b/html/supertokens_python/constants.html index 1995c9c95..e210b2490 100644 --- a/html/supertokens_python/constants.html +++ b/html/supertokens_python/constants.html @@ -42,7 +42,7 @@

Module supertokens_python.constants

from __future__ import annotations SUPPORTED_CDI_VERSIONS = ["2.21"] -VERSION = "0.13.1" +VERSION = "0.14.0" TELEMETRY = "/telemetry" USER_COUNT = "/users/count" USER_DELETE = "/user/remove" diff --git a/html/supertokens_python/recipe/session/api/implementation.html b/html/supertokens_python/recipe/session/api/implementation.html index 8ce30237f..0435d24cb 100644 --- a/html/supertokens_python/recipe/session/api/implementation.html +++ b/html/supertokens_python/recipe/session/api/implementation.html @@ -90,6 +90,7 @@

Module 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]], @@ -118,6 +119,7 @@

Module 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, ) @@ -168,6 +170,7 @@

Classes

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]], @@ -196,6 +199,7 @@

Classes

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, )
@@ -248,7 +252,7 @@

Methods

-async def verify_session(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] +async def verify_session(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]
@@ -261,6 +265,7 @@

Methods

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]], @@ -289,6 +294,7 @@

Methods

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, ) diff --git a/html/supertokens_python/recipe/session/framework/django/asyncio/index.html b/html/supertokens_python/recipe/session/framework/django/asyncio/index.html index 639b66882..927274085 100644 --- a/html/supertokens_python/recipe/session/framework/django/asyncio/index.html +++ b/html/supertokens_python/recipe/session/framework/django/asyncio/index.html @@ -56,6 +56,7 @@

Module 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]], @@ -81,6 +82,7 @@

Module supertokens_python.recipe.session.framework.djang baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) @@ -113,7 +115,7 @@

Module supertokens_python.recipe.session.framework.djang

Functions

-def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T] +def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]
@@ -124,6 +126,7 @@

Functions

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]],
@@ -149,6 +152,7 @@ 

Functions

baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) diff --git a/html/supertokens_python/recipe/session/framework/django/syncio/index.html b/html/supertokens_python/recipe/session/framework/django/syncio/index.html index 50ed91b27..4e8e61e3e 100644 --- a/html/supertokens_python/recipe/session/framework/django/syncio/index.html +++ b/html/supertokens_python/recipe/session/framework/django/syncio/index.html @@ -57,6 +57,7 @@

Module 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]], @@ -83,6 +84,7 @@

Module supertokens_python.recipe.session.framework.djang baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) @@ -118,7 +120,7 @@

Module supertokens_python.recipe.session.framework.djang

Functions

-def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T] +def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]
@@ -129,6 +131,7 @@

Functions

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]],
@@ -155,6 +158,7 @@ 

Functions

baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) diff --git a/html/supertokens_python/recipe/session/framework/fastapi/index.html b/html/supertokens_python/recipe/session/framework/fastapi/index.html index 6a913e22c..01a9e4b20 100644 --- a/html/supertokens_python/recipe/session/framework/fastapi/index.html +++ b/html/supertokens_python/recipe/session/framework/fastapi/index.html @@ -51,6 +51,7 @@

Module 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]], @@ -70,6 +71,7 @@

Module supertokens_python.recipe.session.framework.fasta baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) @@ -92,7 +94,7 @@

Module supertokens_python.recipe.session.framework.fasta

Functions

-def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[..., Coroutine[Any, Any, Optional[SessionContainer]]] +def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[..., Coroutine[Any, Any, Optional[SessionContainer]]]
@@ -103,6 +105,7 @@

Functions

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]],
@@ -122,6 +125,7 @@ 

Functions

baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) diff --git a/html/supertokens_python/recipe/session/framework/flask/index.html b/html/supertokens_python/recipe/session/framework/flask/index.html index 0179ed3f6..03e572ba1 100644 --- a/html/supertokens_python/recipe/session/framework/flask/index.html +++ b/html/supertokens_python/recipe/session/framework/flask/index.html @@ -54,6 +54,7 @@

Module supertokens_python.recipe.session.framework.flask 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]], @@ -77,6 +78,7 @@

Module supertokens_python.recipe.session.framework.flask baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) @@ -103,7 +105,7 @@

Module supertokens_python.recipe.session.framework.flask

Functions

-def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T] +def verify_session(anti_csrf_check: Optional[bool] = None, session_required: bool = True, check_database: bool = False, override_global_claim_validators: Optional[Callable[[List[SessionClaimValidator], SessionContainer, Dict[str, Any]], Union[Awaitable[List[SessionClaimValidator]], List[SessionClaimValidator]]]] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Callable[[~_T], ~_T]
@@ -114,6 +116,7 @@

Functions

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]],
@@ -137,6 +140,7 @@ 

Functions

baseRequest, anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context, ) diff --git a/html/supertokens_python/recipe/session/interfaces.html b/html/supertokens_python/recipe/session/interfaces.html index c8de17d2a..1599ac5a9 100644 --- a/html/supertokens_python/recipe/session/interfaces.html +++ b/html/supertokens_python/recipe/session/interfaces.html @@ -378,6 +378,7 @@

Module supertokens_python.recipe.session.interfacesClasses

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]], @@ -801,7 +803,7 @@

Methods

-async def verify_session(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]) ‑> Optional[SessionContainer] +async def verify_session(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]) ‑> Optional[SessionContainer]
@@ -815,6 +817,7 @@

Methods

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]], diff --git a/html/supertokens_python/recipe/session/recipe.html b/html/supertokens_python/recipe/session/recipe.html index 8e72abedd..ee100ca0e 100644 --- a/html/supertokens_python/recipe/session/recipe.html +++ b/html/supertokens_python/recipe/session/recipe.html @@ -372,6 +372,7 @@

Module supertokens_python.recipe.session.recipeModule supertokens_python.recipe.session.recipe

@@ -694,6 +696,7 @@

Classes

request: BaseRequest, anti_csrf_check: Union[bool, None], session_required: bool, + check_database: bool, override_global_claim_validators: Optional[ Callable[ [List[SessionClaimValidator], SessionContainer, Dict[str, Any]], @@ -714,6 +717,7 @@

Classes

), anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context=default_user_context(request), )

@@ -1036,7 +1040,7 @@

Methods

-async def verify_session(self, request: BaseRequest, 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]) +async def verify_session(self, request: BaseRequest, 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])
@@ -1049,6 +1053,7 @@

Methods

request: BaseRequest, anti_csrf_check: Union[bool, None], session_required: bool, + check_database: bool, override_global_claim_validators: Optional[ Callable[ [List[SessionClaimValidator], SessionContainer, Dict[str, Any]], @@ -1069,6 +1074,7 @@

Methods

), anti_csrf_check, session_required, + check_database, override_global_claim_validators, user_context=default_user_context(request), )