Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.9.0
type Config struct { Users []string `json:"users"` Realm string `json:"realm"` StripAuthorizationHeader bool `json:"stripAuthorizationHeader"` ForwardUsernameHeader string `json:"forwardUsernameHeader"` }
Config configures a basic auth ACP handler.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a basic auth ACP Handler.
func NewHandler ¶
NewHandler creates a new basic auth ACP Handler.
Click to show internal directories.
Click to hide internal directories.