yt-gen-app/lib/templ/tmpl/backend/structs/jwt-custom-claim.tmpl
2023-07-26 16:19:28 +03:00

14 lines
237 B
Cheetah

package structs
import (
"github.com/golang-jwt/jwt"
uuid "github.com/satori/go.uuid"
)
type JwtCustomClaims struct {
ID uuid.UUID `json:"id"`
Login string `json:"login"`
Roles []string `json:"roles"`
jwt.StandardClaims
}