UNPKG

@katalysttech/auth

Version:

A flexible authentication module for NestJS applications with JWT and refresh token support

7 lines (6 loc) 280 B
export declare class PasswordService { private readonly DEFAULT_SALT_ROUNDS; hashPassword(password: string, saltRounds?: number): Promise<string>; comparePassword(password: string, hash: string): Promise<boolean>; generateSalt(rounds?: number): Promise<string>; }