plugin

package
v0.0.0-...-068cd59 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthPlugins = map[string]mysql_db.PlaintextAuthPlugin{
	"caching_sha2_password": &NoopPlaintextPlugin{},
}

Functions

This section is empty.

Types

type NoopPlaintextPlugin

type NoopPlaintextPlugin struct{}

NoopPlaintextPlugin is used to authenticate plaintext user plugins

func (*NoopPlaintextPlugin) Authenticate

func (p *NoopPlaintextPlugin) Authenticate(db *mysql_db.MySQLDb, user string, userEntry *mysql_db.User, pass string) (bool, error)

Jump to

Keyboard shortcuts

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