Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JwtKeyFunc ¶
func JwtKeyFunc(token *jwt.Token) (interface{}, error)
Types ¶
type ArithmeticCustomClaims ¶
type ArithmeticCustomClaims struct { UserId int64 `json:"userId"` Name string `json:"name"` Namespaces []string `json:"namespaces"` Groups []int64 `json:"groups"` IsAdmin bool `json:"isAdmin"` RoleIds []int64 `json:"role_ids"` jwt.StandardClaims }
ArithmeticCustomClaims 自定义声明
Click to show internal directories.
Click to hide internal directories.