Lucia

DatabaseSession

Represents a session stored in a database.

Definition

interface DatabaseSession {
	id: string;
	userId: UserId;
	expiresAt: Date;
	attributes: DatabaseSessionAttributes;
}

Properties

  • id
  • userId
  • expiresAt
  • attributes