unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Auth.HTTPClient

Synopsis

Documentation

newAuthenticatedHTTPClient :: MonadIO m => TokenProvider -> UCMVersion -> m AuthenticatedHttpClient Source #

Returns a new http manager which applies the appropriate Authorization header to any hosts our UCM is authenticated with.

newtype AuthenticatedHttpClient Source #

Newtype to delineate HTTP Managers with access-token logic.