2024-01-04 20:19:47 +01:00
|
|
|
package session
|
|
|
|
|
|
|
|
import (
|
|
|
|
// Standard
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type T struct {
|
|
|
|
UUID string
|
|
|
|
Created time.Time
|
|
|
|
LastUsed time.Time `db:"last_used"`
|
|
|
|
Authenticated bool
|
2024-02-14 14:34:36 +01:00
|
|
|
MFA any
|
2024-01-04 20:19:47 +01:00
|
|
|
|
2024-01-05 09:00:09 +01:00
|
|
|
UserID int `db:"user_id"`
|
2024-01-04 20:19:47 +01:00
|
|
|
Username string
|
|
|
|
Name string
|
2024-02-09 13:22:25 +01:00
|
|
|
|
|
|
|
ApplicationData any
|
2024-01-04 20:19:47 +01:00
|
|
|
}
|