UNPKG

aegis-auth

Version:

A credentials-based auth solution for Next.js (and other Node projects) with IP rate-limiting, account lockouts, and sessions in DB.

10 lines 398 B
import type { PrismaClient } from "@prisma/client"; import type { AegisAuthConfig } from "../config"; import type { ActionResponse } from "../types/returns"; export declare function revokeAllSessionsForUser(context: { prisma: PrismaClient; config: Required<AegisAuthConfig>; }, input: { userId: string; }): Promise<ActionResponse>; //# sourceMappingURL=revokeAllSessionsForUser.d.ts.map