Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthProvider ¶
type HtpasswdFile ¶
func NewHtpasswdFile ¶
func NewHtpasswdFile(filename string) *HtpasswdFile
func (*HtpasswdFile) CompareUsernameAndPassword ¶
func (file *HtpasswdFile) CompareUsernameAndPassword(username, password string) error
func (*HtpasswdFile) GetPasswordForUser ¶
func (file *HtpasswdFile) GetPasswordForUser(user string) (hash string, ok bool)
func (*HtpasswdFile) Reload ¶
func (file *HtpasswdFile) Reload()
func (*HtpasswdFile) ReloadIfNeeded ¶
func (file *HtpasswdFile) ReloadIfNeeded()
type HtpasswdProvider ¶
type HtpasswdProvider struct {
File *HtpasswdFile
}
func NewHtpasswdProvider ¶
func NewHtpasswdProvider(file string) *HtpasswdProvider
Click to show internal directories.
Click to hide internal directories.