type

AuthSessionInfo

type AuthSessionInfo struct { ID string CreatedAt time.Time LastSeenAt time.Time ExpiresAt time.Time IPAddress string UserAgent string Current bool }

Safe metadata for an active session or device.

Source core/auth.go:47

IDstring
The revocable session identifier, not the bearer token.
CreatedAttime.Time
When the session was issued.
LastSeenAttime.Time
Persisted activity metadata updated when the session is issued or its token rotates.
ExpiresAttime.Time
When the session expires.
IPAddressstring
Recorded client address metadata.
UserAgentstring
Recorded device user-agent metadata.
Currentbool
Reports whether this is the session making the request.