File size: 313 Bytes
2d9d20d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package models

import (
	"github.com/golang-jwt/jwt/v5"
	"github.com/google/uuid"
)

type AccountData struct {
	UserID       uuid.UUID
	VerifyStatus string
	Role         string
	ErrVerif     error
}
type CustomClaims struct {
	jwt.RegisteredClaims
	UserID uuid.UUID `json:"id"`
	Role   string    `json:"role"`
}