Documentation
¶
Index ¶
Constants ¶
View Source
const NoAuth = auth.Type("noauth")
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(unmarshal auth.YAMLUnmarshaler, config_dir string) (auth.Authenticator, error)
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func FromConfig ¶
func FromConfig(config Config) (*Authenticator, error)
func (*Authenticator) Close ¶
func (a *Authenticator) Close() (err error)
func (*Authenticator) Load ¶
func (a *Authenticator) Load(config Config)
func (*Authenticator) VerifyPermissions ¶
func (a *Authenticator) VerifyPermissions(user string, password string, domain string) (err error)
Click to show internal directories.
Click to hide internal directories.