Versions in this module Expand all Collapse all v1 v1.12.2 Dec 24, 2020 v1.12.1 Dec 8, 2020 Changes in this version + func Basic(username string, password string) beego.FilterFunc + func NewBasicAuthenticator(secrets SecretProvider, Realm string) beego.FilterFunc + type BasicAuth struct + Realm string + Secrets SecretProvider + func (a *BasicAuth) CheckAuth(r *http.Request) string + func (a *BasicAuth) RequireAuth(w http.ResponseWriter, r *http.Request) + type SecretProvider func(user, pass string) bool