Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator(salt string) auth.Authenticator
Types ¶
type BuiltinAuthenticator ¶
type BuiltinAuthenticator struct {
// contains filtered or unexported fields
}
func (BuiltinAuthenticator) Authenticate ¶
func (a BuiltinAuthenticator) Authenticate(username, password, hash string) (bool, error)
func (BuiltinAuthenticator) GenerateToken ¶
func (a BuiltinAuthenticator) GenerateToken() (string, error)
func (BuiltinAuthenticator) IsUpdateSupported ¶
func (a BuiltinAuthenticator) IsUpdateSupported() bool
func (BuiltinAuthenticator) Name ¶
func (a BuiltinAuthenticator) Name() string
Click to show internal directories.
Click to hide internal directories.