Documentation
¶
Index ¶
- type PermissionTable
- type SimpleUserAuthenticator
- func (a *SimpleUserAuthenticator) AddPermission(user string, password string, domain string) (err error)
- func (a *SimpleUserAuthenticator) Load(f io.Reader) (err error)
- func (a *SimpleUserAuthenticator) RemovePermission(user string, domain string) (err error)
- func (a *SimpleUserAuthenticator) Save(w io.Writer) (err error)
- func (a *SimpleUserAuthenticator) VerifyPermissions(user string, password string, domain string) (err error)
- type SimpleUserAuthenticatorLoader
- type UserTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionTable ¶
type SimpleUserAuthenticator ¶
type SimpleUserAuthenticator struct {
Permissions PermissionTable
}
func (*SimpleUserAuthenticator) AddPermission ¶
func (a *SimpleUserAuthenticator) AddPermission(user string, password string, domain string) (err error)
func (*SimpleUserAuthenticator) Load ¶
func (a *SimpleUserAuthenticator) Load(f io.Reader) (err error)
func (*SimpleUserAuthenticator) RemovePermission ¶
func (a *SimpleUserAuthenticator) RemovePermission(user string, domain string) (err error)
func (*SimpleUserAuthenticator) Save ¶
func (a *SimpleUserAuthenticator) Save(w io.Writer) (err error)
func (*SimpleUserAuthenticator) VerifyPermissions ¶
func (a *SimpleUserAuthenticator) VerifyPermissions(user string, password string, domain string) (err error)
type SimpleUserAuthenticatorLoader ¶
type SimpleUserAuthenticatorLoader struct {
Path string
}
func (SimpleUserAuthenticatorLoader) Load ¶
func (a SimpleUserAuthenticatorLoader) Load(d acmeserver.ConfigDecoder) (uauth auth.Authenticator, err error)
Click to show internal directories.
Click to hide internal directories.