for more information visit the package's GitHub page
Package contains the following modules:
A collection of functions to decode Jwt tokens.
A Jwt is a Base64 string that has three parts
* header
* content
* signature
The 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.