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.
11 lines • 385 B
TypeScript
import type { AegisAuthConfig } from "../config";
export declare const hashPassword: ({ password, config, }: {
password: string;
config: AegisAuthConfig;
}) => Promise<string>;
export declare const verifyPassword: ({ hash, password, config, }: {
hash: string;
password: string;
config: AegisAuthConfig;
}) => Promise<boolean>;
//# sourceMappingURL=password.d.ts.map