Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServerClaims ¶
type ServerClaims struct { ID uint `json:"id"` AppName string `json:"app_name"` AppID string `json:"app_id"` jwt.RegisteredClaims }
func ParseAppAuth ¶
func ParseAppAuth(token string) (*ServerClaims, error)
Click to show internal directories.
Click to hide internal directories.