Documentation
¶
Index ¶
Constants ¶
View Source
const (
Algorithm = "HS256"
)
Variables ¶
View Source
var ( TokenIsExpired = jwt.TokenIsExpired TokenIsNotValidYet = jwt.TokenIsNotValidYet )
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
func (*AccessToken) Encode ¶
func (a *AccessToken) Encode(secret []byte) string
func (*AccessToken) Peek ¶
func (a *AccessToken) Peek(str string) error
Click to show internal directories.
Click to hide internal directories.