Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPasswordHandler ¶
type DefaultPasswordHandler struct {
// contains filtered or unexported fields
}
func (*DefaultPasswordHandler) Check ¶
func (d *DefaultPasswordHandler) Check(pwdHash, input string) bool
func (*DefaultPasswordHandler) Hash ¶
func (d *DefaultPasswordHandler) Hash(pwd string) string
type PasswordHandler ¶
func NewDefaultPasswordHandler ¶
func NewDefaultPasswordHandler(viper *viper.Viper) (PasswordHandler, error)
Click to show internal directories.
Click to hide internal directories.