swiftengineer / elm-data / ElmData.AuthConfig
Configuration for how Authentication will be handled in your app.


type alias AuthConfig =
{ authHeader : ElmData.Session.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.