Description

AuthBasicMiddleware provides a simple AuthBasic implementation. On failure, a 401 HTTP response is returned. On success, the wrapped middleware is called, and the userId is made available as request.Env["REMOTE_USER"].(string)

AuthBasicMiddleware is referenced in 6 repositories

github.com/ant0ine/go-json-rest github.com/ant0ine/go-json-rest-examples github.com/STNS/STNS

...