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(
152
152
)
153
153
global_claim_validators = await resolve (
154
154
recipe_impl .get_global_claim_validators (
155
- session_info .user_id ,
156
155
session_info .tenant_id ,
156
+ session_info .user_id ,
157
157
claim_validators_added_by_other_recipes ,
158
158
user_context ,
159
159
)
@@ -188,8 +188,8 @@ async def validate_claims_for_session_handle(
188
188
189
189
190
190
async def validate_claims_in_jwt_payload (
191
- user_id : str ,
192
191
tenant_id : str ,
192
+ user_id : str ,
193
193
jwt_payload : JSONObject ,
194
194
override_global_claim_validators : Optional [
195
195
Callable [
@@ -213,8 +213,8 @@ async def validate_claims_in_jwt_payload(
213
213
)
214
214
global_claim_validators = await resolve (
215
215
recipe_impl .get_global_claim_validators (
216
- user_id ,
217
216
tenant_id ,
217
+ user_id ,
218
218
claim_validators_added_by_other_recipes ,
219
219
user_context ,
220
220
)
Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ async def create_new_session(
154
154
@abstractmethod
155
155
def get_global_claim_validators (
156
156
self ,
157
- user_id : str ,
158
157
tenant_id : str ,
158
+ user_id : str ,
159
159
claim_validators_added_by_other_recipes : List [SessionClaimValidator ],
160
160
user_context : Dict [str , Any ],
161
161
) -> MaybeAwaitable [List [SessionClaimValidator ]]:
Original file line number Diff line number Diff line change @@ -437,8 +437,8 @@ async def get_claim_value(
437
437
438
438
def get_global_claim_validators (
439
439
self ,
440
- user_id : str ,
441
440
tenant_id : str ,
441
+ user_id : str ,
442
442
claim_validators_added_by_other_recipes : List [SessionClaimValidator ],
443
443
user_context : Dict [str , Any ],
444
444
) -> MaybeAwaitable [List [SessionClaimValidator ]]:
Original file line number Diff line number Diff line change @@ -385,8 +385,8 @@ def validate_claims_for_session_handle(
385
385
386
386
387
387
def validate_claims_in_jwt_payload (
388
- user_id : str ,
389
388
tenant_id : str ,
389
+ user_id : str ,
390
390
jwt_payload : JSONObject ,
391
391
override_global_claim_validators : Optional [
392
392
Callable [
@@ -402,8 +402,8 @@ def validate_claims_in_jwt_payload(
402
402
403
403
return sync (
404
404
async_validate_claims_in_jwt_payload (
405
- user_id ,
406
405
tenant_id ,
406
+ user_id ,
407
407
jwt_payload ,
408
408
override_global_claim_validators ,
409
409
user_context ,
Original file line number Diff line number Diff line change @@ -480,8 +480,8 @@ async def get_required_claim_validators(
480
480
)
481
481
global_claim_validators = await resolve (
482
482
SessionRecipe .get_instance ().recipe_implementation .get_global_claim_validators (
483
- session .get_user_id (),
484
483
session .get_tenant_id (),
484
+ session .get_user_id (),
485
485
claim_validators_added_by_other_recipes ,
486
486
user_context ,
487
487
)
You can’t perform that action at this time.
0 commit comments