package
Version:
v2.2.0
Opens a new window with list of versions in this module.
Published: Apr 12, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
VerifyPassword checks whether the given password abides to the enforced password strength.
type Password struct {
Value string `json:"value"`
}
Password holds a hash password alongside its salt value.
Clear resets the password.
Compare checks whether the given password string equals the stored one.
IsValid checks whether the password is valid.
Set sets a new password by hashing the plaintext version using bcrypt.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.