You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package sjwt
|
|
|
|
import "github.com/golang-jwt/jwt/v4"
|
|
|
|
type JWTClaims struct {
|
|
*jwt.RegisteredClaims
|
|
Type string `json:"type,omitempty"`
|
|
Roles []string `json:"roles,omitempty"`
|
|
Scopes []string `json:"scopes,omitempty"`
|
|
}
|