Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppJWT ¶
type AppJWT struct {
// contains filtered or unexported fields
}
func (AppJWT) GenWithClaims ¶
func (AppJWT) VerifyToken ¶
func (a AppJWT) VerifyToken(token, subject string) (*CustomClaims, error)
be carfull the subject shuold match from the signing phase, use "" to skip it
type CustomClaims ¶
Click to show internal directories.
Click to hide internal directories.