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)
}
PasswordAuthenticator is an interface type that defines how to authenticate a user with a username and password.
Click to show internal directories.
Click to hide internal directories.