A collection of functions to decode Jwt tokens.
A Jwt is a Base64 string that has three parts
* header
* content
* signatureThe library functions decodeToken and tokenDecoder provide the means to decode the content of a token, while checkTokenExpiry and isExpired specifically analyse whether the token remains within its expiry time.
Examples are included of the software working with Phoenix and Node backends. More discussion of the Phoenix example can be found in this blog post.