Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶
HashPassword creates a valid base64 encoded hash for the given password
Types ¶
type PwdProvider ¶
type PwdProvider struct{}
PwdProvider creates a placeholder for the Provider interface implementation
func (*PwdProvider) Authenticate ¶
func (p *PwdProvider) Authenticate(user string, challenge string) bool
Authenticate implements the Provider interface authenticating a user against a password file. None of this is intended for prodcution use.
Click to show internal directories.
Click to hide internal directories.