simonh1000/elm-jwt/4.0.3

NOTE: this package is not compatible with Elm 0.19.1

Elm helpers for working with Jwt tokens.

A collection of functions to decode Jwt tokens, and to use them for authenticated CRUD requests.

Version 4.0.0 (Elm 0.18)

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.

Version 3.0.0 (Elm 0.18)

Initial version

Elm 0.17 users should use version 2.0.0.

Version 2.0.0 (Elm 0.17)

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

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.