Package whauth provides some helper methods and handlers for dealing with
HTTP basic auth
BasicAuthUser = webhelp.GenSym()
func RequireBasicAuth(h http.Handler, realm string,
valid func(ctx context.Context, user, pass string) bool) http.Handler
RequireBasicAuth ensures that a valid user is provided, calling
wherr.Handle with wherr.Unauthorized if not.
Package whauth imports 6 packages (graph).
Tools for package owners.