File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
supertokens_python/recipe/session Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ async def validate_claims_for_session_handle(
152152 )
153153 global_claim_validators = await resolve (
154154 recipe_impl .get_global_claim_validators (
155- session_info .user_id ,
156155 session_info .tenant_id ,
156+ session_info .user_id ,
157157 claim_validators_added_by_other_recipes ,
158158 user_context ,
159159 )
@@ -188,8 +188,8 @@ async def validate_claims_for_session_handle(
188188
189189
190190async def validate_claims_in_jwt_payload (
191- user_id : str ,
192191 tenant_id : str ,
192+ user_id : str ,
193193 jwt_payload : JSONObject ,
194194 override_global_claim_validators : Optional [
195195 Callable [
@@ -213,8 +213,8 @@ async def validate_claims_in_jwt_payload(
213213 )
214214 global_claim_validators = await resolve (
215215 recipe_impl .get_global_claim_validators (
216- user_id ,
217216 tenant_id ,
217+ user_id ,
218218 claim_validators_added_by_other_recipes ,
219219 user_context ,
220220 )
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ async def create_new_session(
154154 @abstractmethod
155155 def get_global_claim_validators (
156156 self ,
157- user_id : str ,
158157 tenant_id : str ,
158+ user_id : str ,
159159 claim_validators_added_by_other_recipes : List [SessionClaimValidator ],
160160 user_context : Dict [str , Any ],
161161 ) -> MaybeAwaitable [List [SessionClaimValidator ]]:
Original file line number Diff line number Diff line change @@ -437,8 +437,8 @@ async def get_claim_value(
437437
438438 def get_global_claim_validators (
439439 self ,
440- user_id : str ,
441440 tenant_id : str ,
441+ user_id : str ,
442442 claim_validators_added_by_other_recipes : List [SessionClaimValidator ],
443443 user_context : Dict [str , Any ],
444444 ) -> MaybeAwaitable [List [SessionClaimValidator ]]:
Original file line number Diff line number Diff line change @@ -385,8 +385,8 @@ def validate_claims_for_session_handle(
385385
386386
387387def validate_claims_in_jwt_payload (
388- user_id : str ,
389388 tenant_id : str ,
389+ user_id : str ,
390390 jwt_payload : JSONObject ,
391391 override_global_claim_validators : Optional [
392392 Callable [
@@ -402,8 +402,8 @@ def validate_claims_in_jwt_payload(
402402
403403 return sync (
404404 async_validate_claims_in_jwt_payload (
405- user_id ,
406405 tenant_id ,
406+ user_id ,
407407 jwt_payload ,
408408 override_global_claim_validators ,
409409 user_context ,
Original file line number Diff line number Diff line change @@ -480,8 +480,8 @@ async def get_required_claim_validators(
480480 )
481481 global_claim_validators = await resolve (
482482 SessionRecipe .get_instance ().recipe_implementation .get_global_claim_validators (
483- session .get_user_id (),
484483 session .get_tenant_id (),
484+ session .get_user_id (),
485485 claim_validators_added_by_other_recipes ,
486486 user_context ,
487487 )
You can’t perform that action at this time.
0 commit comments