type

AuthSessionInfo

Safe device/session metadata.

Properties

PropertyTypeDescription
IDstringThe ID value.
CreatedAtstringThe CreatedAt value.
LastSeenAtstringThe LastSeenAt value.
ExpiresAtstringThe ExpiresAt value.
IPAddressstringThe IPAddress value.
UserAgentstringThe UserAgent value.
CurrentboolThe Current value.

How it works

Never contains a bearer token or token digest.

Full signature

type AuthSessionInfo struct { ID string `json:"id"` CreatedAt string `json:"createdAt"` LastSeenAt string `json:"lastSeenAt"` ExpiresAt string `json:"expiresAt"` IPAddress string `json:"ipAddress,omitempty"` UserAgent string `json:"userAgent,omitempty"` Current bool `json:"current"` }

Source protocol/envelope.go:448