A collection of functions to decode Jwt tokens, and to use them for authenticated CRUD requests.
Elm's Http library has undergone a major rewrite for 0.18 and this library depends upon it. As a result much has changed and you are encouraged to re-look at the examples and the docs.
Initial version
Elm 0.17 users should use version 2.0.0.
The one breaking change is that authenticate now returns Task JwtError String
rather than Task never (Result JwtError String)
. It is better to leave it to the user to handle the conversion to a Cmd.
Elm 0.16 users should use version 1.0.2.
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.