mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
16 lines
329 B
Go
16 lines
329 B
Go
package auth
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type AccessToken struct {
|
|
ID string `gorm:"primarykey"`
|
|
ApplicationID string
|
|
UserID string
|
|
Audience Array[string] `gorm:"type:text"`
|
|
Expiration time.Time
|
|
Scopes Array[string] `gorm:"type:text"`
|
|
RefreshTokenID string `json:"refreshTokenID"`
|
|
}
|