Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authenticator ¶
Authenticator validates user credentials.
type PAMAuthenticator ¶
type PAMAuthenticator struct {
Service string
}
PAMAuthenticator authenticates users against PAM.
func NewPAMAuthenticator ¶
func NewPAMAuthenticator(service string) *PAMAuthenticator
func (*PAMAuthenticator) Authenticate ¶
func (a *PAMAuthenticator) Authenticate(username, password string) error
Click to show internal directories.
Click to hide internal directories.