Jwt decode, verify & generate:

  
HEADER
PAYLOAD
SIGNATURE
Algorithm( base64UrlEncode(HEADER) +
   "." + base64UrlEncode(PAYLOAD),
)