update_jwt_payload(session_handle, data)
Parameters
session_handle
- type:
str
- type:
data
- type:
dict
- type:
Returns
Awaitable[None]
Throws
- SuperTokensGeneralError
- SuperTokensUnauthorisedError
- This is thrown if the current session was revoked or has expired.
Additional information
- The JWT updated payload information for that session will be reflected only when that session has been refreshed.
- If you want to update the JWT payload for the current session, please use the
update_jwt_payload
function in thesession
object.