auth

package
v1.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	Authenticate(username, password string) (string, error)
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL