
<dt id="supertokens_python.recipe.jwt.asyncio.create_jwt"><code class="name flex">
<span>async def <span class="ident">create_jwt</span></span>(<span>payload: Optional[Dict[str, Any]] = None, validity_seconds: Optional[int] = None, use_static_signing_key: Optional[bool] = None, user_context: Optional[Dict[str, Any]] = None) ‑> Union[<a title="supertokens_python.recipe.jwt.interfaces.CreateJwtOkResult" href="../interfaces.html#supertokens_python.recipe.jwt.interfaces.CreateJwtOkResult">Crea