Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(providerName string, file string, mapper authapi.UserIdentityMapper) (authenticator.Password, error)
New returns an authenticator which will validate usernames and passwords against the given htpasswd file
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
Authenticator watches a file generated by htpasswd to validate usernames and passwords
func (*Authenticator) AuthenticatePassword ¶
Click to show internal directories.
Click to hide internal directories.