polycule-connect/polyculeconnect/internal/model/token.go

22 lines
305 B
Go
Raw Normal View History

package model
import (
"time"
"github.com/google/uuid"
)
type Token struct {
ID uuid.UUID
RefreshTokenID uuid.UUID
Expiration time.Time
Subjet string
Audiences []string
Scopes []string
}
type RefreshToken struct {
ID uuid.UUID
AuthTime time.Time
}