Helper functions for working with Jwt tokens and authenticated CRUD APIs.
This package provides functions for reading tokens, and for using them to make authenticated Http requests.
{ iat : Basics.Int
, exp : Basics.Int
, userId : Maybe String
, email : Maybe String
}
Generic constructor for commonly found fields in a Jwt token
firebase : Json.Decode.Decoder JwtToken
Decoder for Firebase Jwt
phoenixGuardian : Json.Decode.Decoder JwtToken
Decoder for Guardian https://github.com/ueberauth/guardian