Lucia v3

Lucia.getUserSessions()

Method of Lucia. Gets all sessions of a user.

Definition

function getUserSessions(userId: UserId): Promise<Session[]>;

Parameters

  • userId