package dto import "time" // SessionDTO is an issued session, exposing the raw token only at creation. type SessionDTO struct { // Token contains 256 random bits encoded for a Bearer header. Token string // ExpiresAt is an absolute UTC deadline which is not extended by reads. ExpiresAt time.Time // User is the authenticated account without credentials. User UserDTO }