Session
Represents a session.
Definition
interface Session extends SessionAttributes {
id: string;
expiresAt: Date;
fresh: boolean;
userId: UserId;
}
Properties
idexpiresAtfresh:trueif session was newly created or its expiration was extendeduserId