Routemaster Client v0.3.0 Routemaster.Fetcher.ServiceAuth View Source

Service authentication middleware.

For each HTTP request to fetch remote entities, it looks up the authentication credentials for the host of the requested URL and sets it as the HTTP Authorization header of the request.

It raises a MissingCredentialsError if there are no credentials configured for a host.

Link to this section Summary

Link to this section Functions

Link to this function call(env, next, options) View Source