carpe/elm-data/4.0.3

NOTE: the latest version is 4.0.5

Rerouted (archive, verified). The original repository is gone. This copy comes from an archive (Software Heritage). The Lamdera package server serves a copy recovered from swh:1:rev:206a6fcc06ed28867a93c94f2bfb865689b14012 (Software Heritage, origin https://github.com/carpe/elm-data).

What we checked: Software Heritage archived tag 4.0.3 of github.com/carpe/elm-data at commit 206a6fcc06ed; its commit 206a6fcc06ed is from 2020-03-01 01:45 UTC, before the version was published (2020-03-01 01:46 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, made from Software Heritage's copy of the files Elm uses, so its SHA-1 is not the published one.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/carpe/elm-data/zipball/4.0.3/

ElmData.AuthConfig

Configuration for how Authentication will be handled in your app.

type alias AuthConfig =
{ authHeader : SessionData -> ( String, String ) }

Object to hold the configurations.

default : AuthConfig

Default AuthConfig that will attach a Bearer Token to your requests if a Authenticated Session is used.