package types

import "github.com/golang-jwt/jwt/v5"

type UserClaims struct {
	UserEmail string `json:"user_email"`
	IsAdmin   bool   `json:"is_admin"`
	jwt.RegisteredClaims
}

type ApiClaims struct {
	Email         string   `json:"email"`
	EmailVerified bool     `json:"email_verified"`
	Name          string   `json:"name"`
	Picture       *string  `json:"picture"`
	Nonce         string   `json:"nonce"`
	Roles         []string `json:"roles"`
	// TODO: add given_name, family_name, locale...
	jwt.RegisteredClaims
}
