• Sets a new session for the given user

    Parameters

    • lucia: Lucia<Record<never, never>, Record<never, never>>

      The Lucia instance to use

    • sessionId: string

      The id of the session to set

    • cookies: Cookies

      The cookies to use

    Returns void