Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MyCustomClaims ¶
type MyCustomClaims struct { Sid string `json:"sid"` Platform uint8 `json:"platform"` jwt.RegisteredClaims }
func ParseToken ¶
func ParseToken(token string) (*MyCustomClaims, error)
Click to show internal directories.
Click to hide internal directories.