this function is used to get the payload of a jwt token
object containing port, resource and other attributes encoded into the token
this function is used to get the payload of a jwt token