update_jwt_payload(data)
Parameters
data
- type:
dict
- type:
Returns
Awaitable[None]
Throws
- SuperTokensGeneralError
- SuperTokensUnauthorisedError
- This is thrown if the current session was revoked or has expired.
- When this is thrown, all the relevant auth cookies are cleared by this function call, so you can redirect the user to a login page.