Add io.jwt.decode builtin
It would be useful to support policies involving access tokens. To facilitate that, io.jwt.decode takes a JSON Web Token in JWS Compact Serialization representation as input and parses it into its header, payload and signature. This patch does its best to adhere to the following RFCs where relevant: - JWT: https://tools.ietf.org/html/rfc7519 - JWS: https://tools.ietf.org/html/rfc7515 - JWE: https://tools.ietf.org/html/rfc7516
M
Matthew Mussomele committed
911274bf5aaddb1e50cbc3dd119e7dee4736b771
Parent: 5c9749e
Committed by Torin Sandall <torinsandall@gmail.com>
on 5/24/2017, 5:19:33 PM