d>
<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, 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">