package
Version:
v0.0.0-...-d831bb0
Opens a new window with list of versions in this module.
Published: Aug 20, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HashPassword attempts to hash the supplied password
LoginUser generates a signed JWT token
VerifyPassword verifies a password against the stored hash
type UserClaim struct {
UserID hide.ID `json:"userId"`
jwt.StandardClaims
}
UserClaim structure
Source Files
¶
Click to show internal directories.
Click to hide internal directories.