pam

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCredentials = errors.New("pam: invalid credentials or unknown user")

Functions

func New

func New(modName, instName string, _, inlineArgs []string) (module.Module, error)

Types

type Auth

type Auth struct {
	Log log.Logger
	// contains filtered or unexported fields
}

func (*Auth) AuthPlain added in v0.2.0

func (a *Auth) AuthPlain(username, password string) error

func (*Auth) Init

func (a *Auth) Init(cfg *config.Map) error

func (*Auth) InstanceName

func (a *Auth) InstanceName() string

func (*Auth) Name

func (a *Auth) Name() string

Jump to

Keyboard shortcuts

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