Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type HtpasswdBackend ¶
type HtpasswdBackend struct {
// contains filtered or unexported fields
}
func NewHtpasswdBackend ¶
func NewHtpasswdBackend(c *htpasswd.Container) *HtpasswdBackend
func NewHtpasswdBackendFromMap ¶
func NewHtpasswdBackendFromMap(m map[string]string) (*HtpasswdBackend, error)
func (*HtpasswdBackend) ValidateUser ¶
func (h *HtpasswdBackend) ValidateUser(userName string, secret string) (bool, error)
type HtpasswdConfig ¶
func NewHtpasswdConfig ¶
func NewHtpasswdConfig() *HtpasswdConfig
func (*HtpasswdConfig) NewHtpasswdBackend ¶
func (c *HtpasswdConfig) NewHtpasswdBackend() (*HtpasswdBackend, error)
func (*HtpasswdConfig) Validate ¶
func (c *HtpasswdConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.