Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomClaims ¶
type CustomClaims struct {
// You can define custom fields here
Value string `json:"value"`
jwt.StandardClaims
}
func VerifyToken ¶
func VerifyToken(tokenString string, secretKey string) (*CustomClaims, error)
Click to show internal directories.
Click to hide internal directories.