Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
Types ¶
type JwtWrapper ¶
func (*JwtWrapper) Sign ¶
func (j *JwtWrapper) Sign(user *domain.User) (signedToken string, err error)
func (*JwtWrapper) Validate ¶
func (j *JwtWrapper) Validate(signedToken string) (claims *jwtClaims, err error)
Click to show internal directories.
Click to hide internal directories.