UNPKG

@light-auth/core

Version:

light auth core framework agnostic, using arctic

11 lines (10 loc) 400 B
import { type LightAuthUserAdapter } from "../models"; /** * A concrete SessionStore implementation for Node.js server-side, * using the node:fs package to set, get, and delete session files. * Supports optional encryption of the session object. */ export declare const createLightAuthUserAdapter: ({ base, isEncrypted }: { base: string; isEncrypted: boolean; }) => LightAuthUserAdapter;