Lucia

DatabaseSession

Represents a session stored in a database.

Definition

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

Properties

  • id
  • userId
  • expiresAt
  • attributes