mqtt_authenticator

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadLoginOrPassword = fmt.Errorf("bad login or password")
View Source
var ErrPrincipalDisabled = fmt.Errorf("principal disabled")

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	// contains filtered or unexported fields
}

func NewAuthenticator

func NewAuthenticator(adaptors *adaptors.Adaptors) *Authenticator

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(login string, pass interface{}) (err error)

func (Authenticator) Login

func (a Authenticator) Login() string

func (Authenticator) Name

func (a Authenticator) Name() string

func (Authenticator) Password

func (a Authenticator) Password() string

Jump to

Keyboard shortcuts

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