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
}
func (*JWT) ParseToken ¶
func (j *JWT) ParseToken(tokenString string) (*MyCustomClaims, error)
type MyCustomClaims ¶
type MyCustomClaims struct { UserId string jwt.RegisteredClaims }
Click to show internal directories.
Click to hide internal directories.