This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Auth exposing (User(..), UserInfo, LoginInfo, loginTask) | |
import HttpBuilder exposing (..) | |
import Json.Encode as Encode | |
import Json.Decode as Decode exposing ((:=)) | |
import Task exposing (Task) | |
type User | |
= Authenticated UserInfo |