Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cipher ¶
func DefaultCipher ¶
func DefaultCipher() Cipher
func (*Cipher) ComparePassword ¶
ComparePassword compare the cipher text password is correct or not
func (*Cipher) EncodePassword ¶
EncodePassword encode plain text password
type CustomClaims ¶
type CustomClaims struct { Message string `json:"message"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.