polycule-connect/polyculeconnect/internal/model/token.go
Melora Hugues c71e7fa12f
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m20s
Add login workflow until token generation (#48)
2024-10-15 19:35:14 +02:00

21 lines
305 B
Go

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
}