Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIncorrectPassword = echo.NewHTTPError(http.StatusBadRequest, "incorrect old password") ErrInsecurePassword = echo.NewHTTPError(http.StatusBadRequest, "insecure password") )
Custom errors
Functions ¶
This section is empty.
Types ¶
type Password ¶
type Password struct {
// contains filtered or unexported fields
}
Password represents password application service
func Initialize ¶
Initialize initalizes password application service with defaults
type Securer ¶
type Securer interface { Hash(string) string HashMatchesPassword(string, string) bool Password(string, ...string) bool }
Securer represents security interface
Click to show internal directories.
Click to hide internal directories.