mqtt_authenticator

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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