Documentation ¶ Index ¶ func NewAuth(modName, instName string, _, inlinargs []string) (module.Module, error) type Auth func (a *Auth) AuthPlain(username, password string) error func (a *Auth) Init(cfg *config.Map) error func (a *Auth) InstanceName() string func (a *Auth) Lookup(ctx context.Context, username string) (string, bool, error) func (a *Auth) Name() string 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 Source Files ¶ View all Source files plain_separate.go Click to show internal directories. Click to hide internal directories.