type
AuthSession
A persisted opaque session digest and safe metadata.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | The ID value. |
TokenHash | string | The TokenHash value. |
CollectionID | schema.StableID | The CollectionID value. |
UserID | string | The UserID value. |
ExpiresAt | time.Time | The ExpiresAt value. |
CreatedAt | time.Time | The CreatedAt value. |
LastSeenAt | time.Time | The LastSeenAt value. |
IPAddress | string | The IPAddress value. |
UserAgent | string | The UserAgent value. |
Full signature
type AuthSession struct {
ID string
TokenHash string
CollectionID schema.StableID
UserID string
ExpiresAt time.Time
CreatedAt time.Time
LastSeenAt time.Time
IPAddress string
UserAgent string
}