Description

BasicAuth returns an BasicAuth middleware.

For valid credentials it calls the next handler. For invalid credentials, it sends "401 - Unauthorized" response. For empty or invalid `Authorization` header, it sends "400 - Bad Request" response.

BasicAuth is referenced in 9 repositories

github.com/labstack/echo github.com/msoap/raphanus github.com/nubunto/vise

...