Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator interface for user authentication
type PAMAuthenticator ¶
type PAMAuthenticator struct {
// contains filtered or unexported fields
}
PAMAuthenticator implements PAM-based authentication
func NewPAMAuthenticator ¶
func NewPAMAuthenticator() *PAMAuthenticator
NewPAMAuthenticator creates a new PAM authenticator
func (*PAMAuthenticator) Authenticate ¶
func (a *PAMAuthenticator) Authenticate(username, password string) (string, error)
Authenticate validates username/password via PAM
Click to show internal directories.
Click to hide internal directories.