updateJWTPayload(sessionHandle, data)
Parameters
sessionHandle
- type:
string
- type:
data
- type:
object
- type:
Returns
Promise<void>
Throws
- GENERAL_ERROR
- UNAUTHORISED
- 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
updateJWTPayload
function in thesession
object].