plain_separate

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuth

func NewAuth(modName, instName string, _, inlinargs []string) (module.Module, error)

Types

type Auth

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

func (*Auth) AuthPlain

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) Lookup added in v0.3.0

func (a *Auth) Lookup(ctx context.Context, username string) (string, bool, error)

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