pwauth

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordAuthenticator

type PasswordAuthenticator interface {
	// PasswordAuthenticate will authenticate a user using the provided username
	// and password. It returns whether the authentication succeeded and an
	// error.
	PasswordAuthenticate(username string, password []byte) (bool, error)
	UpdateStorage(storage simplestorage.SimpleStore) error
}

PasswordAuthenticator is an interface type that defines how to authenticate a user with a username and password.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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