Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWT ¶
type JWT struct {
// contains filtered or unexported fields
}
JWT holds the required fields for jwt package
func (*JWT) CreateToken ¶
CreateToken create a token with primary secret
func (*JWT) ParseToken ¶
ParseToken verifies the token
Click to show internal directories.
Click to hide internal directories.